Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: help me to do this Array Program

  1. #1
    Junior Member
    Join Date
    Jun 2009
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default help me to do this Array Program

    hi evryone..
    i am new in this forum..and i have started doing simple java programs..
    can any of you help me to do this task


    Write a class to hold array of item name as String type ,stock as
    integer type and price as double type. Use constructor to construct
    the arrays. Use methods to add element, search element, edit element
    at a given index for change of price, delete element at any index,
    sell and item or purchase an item and display stock are the methods
    needed. write a client class to use methods in menu form



    tx


  2. #2
    Member Truffy's Avatar
    Join Date
    May 2009
    Location
    Philippines
    Posts
    93
    Thanks
    2
    Thanked 9 Times in 7 Posts

    Default Re: help me to do this Array Program

    Quote Originally Posted by fahdsaad View Post
    hi evryone..
    i am new in this forum..and i have started doing simple java programs..
    can any of you help me to do this task


    Write a class to hold array of item name as String type ,stock as
    integer type and price as double type. Use constructor to construct
    the arrays. Use methods to add element, search element, edit element
    at a given index for change of price, delete element at any index,
    sell and item or purchase an item and display stock are the methods
    needed. write a client class to use methods in menu form



    tx
    Hi fahdsaad,

    Welcome to the Java Programming forums.

    I think you went to the wrong section.

    Please post it in here:
    New to Java - Java Programming Forums

    Cheers,
    Truffy.