partNo Description quantity i
123 Shampoo 24
224 Blue Biros 56
225 Red Biros 32
324 Cheese 15
369 Shower Gell 8
145 Green Olives 35
Hello, i am new to this forums and i have a problem with my project. I have to code an inventory control system for warehouse. This is the list of information i need to store in a class, but i just can't figure out how. Any help appreciated
Storing a list of information of different types of data in an Array
|
Newbie Member
|
|
| 24Oct2009,22:45 | #1 |
|
Go4Expert Member
|
|
| 8Nov2009,16:48 | #2 |
|
Something like that:
Code: Java
Now you can create new object and att it to your array: Code: Java
BTW it will be better to use lists instead of arrays. For example, ArrayList. PS. Also you need to find some Java book :-). It will be helpful. Last edited by SaswatPadhi; 8Nov2009 at 17:49.. Reason: Changed PHP tags to CODE tags |
|
Light Poster
|
|
| 11Nov2009,09:35 | #3 |
|
i think thsis are methods right?
or classes? god damn, every time goes by i forgot the basic codes damnit. need to drink or take a medicine for anti amnesia. :P |
|
Banned
|
|
| 21Mar2010,13:38 | #4 |
|
It looks nice to me. Just the content arrangement, make some improvements.
|
