Hi, I need help in creating a never ending array using java. It should basically work like and ArrayList but should be done using arrays.
javajavajava
0
Newbie Poster
Recommended Answers
Jump to Postmake an "add" method that creates a new array of the origional length plus one and copy all the values over - with the extra one
:/
Jump to Postmake an "add" method that creates a new array of the origional length plus one and copy all the values over - with the extra one
:/
That depends whether you can insert elements to any cell you see fit just like a regular array. What you are describing is …
All 5 Replies
hanvyj
7
Posting Whiz in Training
apines
116
Practically a Master Poster
Featured Poster
BestJewSinceJC
700
Posting Maven
BestJewSinceJC
700
Posting Maven
Eric Cute
33
Posting Whiz in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.