@ ranjithfs1:
I am trying to copy the whole method from another class to main. Even if I remove the return there is still error.
"Multiple markers at this line
- Syntax error on token(s),...
Type: Posts; User: titowinky
@ ranjithfs1:
I am trying to copy the whole method from another class to main. Even if I remove the return there is still error.
"Multiple markers at this line
- Syntax error on token(s),...
this one is working on: public class Table {
public int player() {
Scanner in = new Scanner(System.in);
p = in.nextInt();
return p;
}
but does not work on another class but under...