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 main:
public static void main (String[] args){
Please help as this puzzles me as I am very new in JAVA ... thank you in advance