Search:

Type: Posts; User: akymcs

Search: Search took 0.11 seconds.

  1. Replies
    12
    Views
    1,634

    [SOLVED] Re: cannot find symbol

    ATIBA nextInt is method of Scanner class..so whenever you use nextInt you must have to create object of Scanner class then use can use nextInt. In your class main there is no any object of Scanner...
  2. Replies
    12
    Views
    1,634

    [SOLVED] Re: cannot find symbol

    i wrote for this..
    error:Scanner ob=new Scanner(System.in);.saying cannot find symbol

    now the next what hi say can not find symbol it will require complete code...
  3. Replies
    12
    Views
    1,634

    [SOLVED] Re: cannot find symbol

    you have to import java.util.Scanner;
    then code runs well
Results 1 to 3 of 3