thank you very much :).
Type: Posts; User: daitobu
thank you very much :).
The problem here is there not actually an assignment. He just gave everyone the skeleton of the program, and expect the result. So I don't know what really to do :(. Well if there a better way to...
This is what i came up with. It run but it doesn't say anything if it false.
public boolean increment() {
if (count < maxValue)
{
count++;
return true;
...
Hello my original attempted was to make increment method in the class. But my teacher want it to be in boolean instead of void
public void increment() {
if (count < maxValue)
...