+ 1
What's the difference between static void and void() { ?
For example: Class myClass { void type() { System.out.println("I'm confused"); class myClass { public static void type() { System.out.println("I need help");
3 Respostas
+ 6
if you dont want to require access to your class method then use static
+ 1
https://www.sololearn.com/learn/Java/2159/
Does the course help?