Is there any advantage to using the following code
public void run(){
//Code
}
public static void main(String[] args){
new Main().run();
}
instead of
public static void main(String[] args){
//code
}
For small programs that you write during a introduction to programming?
I can't see how this will offer any memory saving or performance?