0
I hava Java dudes
Which is the difference between the main class and the others? Thrre will be the code to be executed??
1 Antwort
+ 1
Main class and the others are same
it's just a name
what makes a class different is when it has a public static void main (fyi usually, we simplify it with #psvm, it's a shortcut on netbeans n also on intellij idea). when a class has #psvm, it becomes a main class of the project and will be executed first when you run it
that's will make it different with other class