Search:

Type: Posts; User: Norm

Search: Search took 0.12 seconds.

  1. Replies
    7
    Views
    1,586

    Re: simple multiplication exercise.

    Using a method of a class is a two step process.
    First define an instance of the class
    Then call one of its methods.

    int fnum= new Scanner(System.in);
    The new statement returns an instance of...
  2. Replies
    7
    Views
    1,586

    Re: simple multiplication exercise.

    Use a method of the Scanner class to read in the number the user enters.
Results 1 to 2 of 2