Search:

Type: Posts; User: JavaPF

Search: Search took 0.10 seconds.

  1. Replies
    4
    Views
    8,439

    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
    8,439

    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