|
-
Array-Based List questions
Hello, I have a question on how array-based lists can be used in a linked list setting. My Java teacher wasn't very clear on how it works so I'm hoping if anyone has explain it to me or direct me to a site where they might be able to I would be most appreciative.
The example involved three arrays and a list.
String[] names = {"jeans","shirt","boots"};
double [] costs = {39.99, 24.75, 105.00};
int[] stores = {16, 29, 3};
MallList listOne = new MallList{names, costs, stores};
While there was a base class and a derived class i'm digressing. Can anyone either explain how the arrays can be put into the list or direct me to a site where they might start with maybe just one array.
Similar Threads
-
By Ant_Magma in forum Java
Replies: 26
Last Post: 03-07-2006, 08:12 AM
-
By kanakatam in forum Java
Replies: 2
Last Post: 04-15-2005, 09:06 PM
-
By white94cam in forum C++
Replies: 2
Last Post: 03-30-2005, 11:02 PM
-
By Scott in forum VB Classic
Replies: 12
Last Post: 12-21-2001, 04:21 PM
-
By Toms Ng in forum Database
Replies: 1
Last Post: 12-18-2001, 09:08 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks