This page contains an archived post to the Java Answers Forum made prior to February 25, 2002.
If you wish to participate in discussions, please visit the new
Artima Forums.
Message:
RE: Array question for beginner. Entering a table into an array.
Posted by udayk on May 23, 2001 at 1:26 AM
Hi Doates, Here you need to create a class called Product having the atributes Code,Description & Price. And then use the array of objects of that class. regards -uday > Hi all. I have an assignment where I have to enter the details of products into an array for searching and validating on. How would I enter the following table into an array? I've spent hours trying to work out how its done but am at a loss. Thanks in advance. > ProductCode Product Description Price > 1234 Soap 2.33 > 2545 Washing Powder 3.58
Replies:
|