I am making a Java program where it runs on a library. This library classifies my program as a script. So basically, I am scripting.
Now I want to make various scripts, but I want them all to have the same layout so that I can have the same utilities in every single script. This would make it easier for me to produce more scripts and you know what I mean.
But how do I do it? Another thing is, any method in my Main class must be static. I cannot make any method's in an interface or abstract class static, so that is where my problem starts. Also, I cannot make new object of my main class. Are there any work arounds ? If you don't understand what Im trying to say. Ill give more information.