This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes arrays Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "arrays" Watch "arrays" New topic
Author

arrays

Donald Wynn
Greenhorn

Joined: Dec 04, 2002
Posts: 29
How do I declare a array and how do I store data in that array.
John Smith
Ranch Hand

Joined: Oct 08, 2001
Posts: 2937

You may also want to consider dynamic array, -- look into ArrayList class. Or, you may realize that what you need is not really an array, but something else, such as a Map or a Set.
Eugene.
Donald Wynn
Greenhorn

Joined: Dec 04, 2002
Posts: 29
How does a map and set work?
Thomas Paul
mister krabs
Ranch Hand

Joined: May 05, 2000
Posts: 13974
Check the JavaRanch newsletter for the four part series on Collections and Maps.


Associate Instructor - Hofstra University
Amazon Top 750 reviewer - Blog - Unresolved References - Book Review Blog
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: arrays
 
Similar Threads
returning an array
initalizing arrays
byte[] to blob
Searching an array?
arrays