@Ksham thanks very much. can you send me your email address. this is the question i gave myself but i having chanllenges.
Itemcode Itemname Amount Quantity
C001 Rice 200.50 10
C002 Milk 10.35 100
C003 Cake 250.00 50
C004 Coke 15.00 24
C005 Milo 3.00 250
Declare 1 dimensional array for each column and use it to display the row of items by their code.
If you enter the item code, the item name, amount, and quantity should display.
please help me.I was told that if i understand this, i will be able to tackle more java applications and even teach others.
I think you should leave inheritance for a while and focus on more basic programming concepts. If a short (whatever that really means) application is what you are after, you probably won't need inheritance anyway.
ArrayList<E> some_array = new ArrayList<E>();
// E = type; so ArrayList<String> = Arrays of String.
// You can have E = ArrayList for it to hold ArrayList instead
some_array.add(<SOME_ITEM_OF_TYPE_E>); // do this 6 times
That is as much as I can help with. Would be more useful to say what you're doing. Maybe using Arrays is not the best route.[/quotemsg