0

I hava Java dudes

Which is the difference between the main class and the others? Thrre will be the code to be executed??

13th Nov 2016, 2:20 AM
Galo Exequiel
Galo Exequiel - avatar
1 Odpowiedź
+ 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
14th Nov 2016, 11:14 AM
Raizal I N Pregnanta
Raizal I N Pregnanta - avatar