Search:

Type: Posts; User: titowinky

Search: Search took 0.11 seconds.

  1. Re: This Code worked on a separate class but does not work on another class

    @ 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),...
  2. This Code worked on a separate class but does not work on another class

    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...
Results 1 to 2 of 2