Search:

Type: Posts; User: learningjava1

Search: Search took 0.11 seconds.

  1. Problem with printing appropriate information of the item

    public class Item
    {


    /**
    * @param args
    */
    /**
    * @param args
    */
  2. Replies
    4
    Views
    1,410

    [SOLVED] Re: Array iteration Problem.. Please help

    It worked!! thank you!!!!
  3. Replies
    4
    Views
    1,410

    [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. Replies
    4
    Views
    1,410

    [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
    1,303

    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