Hi! I'm new on the site and i'm studying with the Thinking in
Java. I've a doubt with a program.
This work perfectly (is the solution of an exercisce):
This is my program:
It doesn't work.. the error is:
Testing.java:11: error: 'void' type not allowed here
System.out.println(Test.increment());
Why it doesn't work?