Search:

Type: Posts; User: learningjava1

Search: Search took 0.44 seconds.

  1. Problem with printing appropriate information of the item

    public class Item
    {


    /**
    * @param args
    */
    /**
    * @param args
    */
  2. [SOLVED] Re: Array iteration Problem.. Please help

    It worked!! thank you!!!!
  3. [SOLVED] Re: Array iteration Problem.. Please help

    Im sorry I dont know how to fix it. I see that my if statement compare the input to every item in the list and then print out the message..
    But i dun know how to fix it.

    --- Update ---

    Please...
  4. [SOLVED] Array iteration Problem.. Please help

    Item[]items = new Item[4];
    items[0]= new Item("n",2.2,4);
    items[0].setName("OJ");
    items[0].setCost(6.00);
    items[0].setQty(10);

    items[1]= new Item("n",2.2,4);
    items[1].setName("Milk");...
  5. Replies
    1
    Views
    290

    hello... i am a beginner...

    Item[]items = new Item[4];
    items[0]= new Item("n",2.2,4);
    items[0].setName("OJ");
    items[0].setCost(6.00);
    items[0].setQty(10);

    items[1]= new Item("n",2.2,4);...
Results 1 to 5 of 5