Search:

Type: Posts; User: JavaPF

Search: Search took 0.17 seconds.

  1. Replies
    4
    Views
    7,315

    Re: How to input items in array

    Take a look at vigneswaras example. Good work.

    He is using a buffered reader to take user input from the console.

    This can also be done using the Scanner class. Here is an example:
    ...
  2. Replies
    4
    Views
    7,315

    Re: How to input items in array

    Hello jempot and welcome to the Java Programming Forums!

    I hope this example will help you.



    public class Jempot {

    public static void main(String[] args) {
Results 1 to 2 of 2