Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Beginning Java
Search Coderanch
Advance search
Google search
Register / Login
Win a copy of
TDD for a Shopping Website LiveProject
this week in the
Testing
forum!
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Paul Clapham
Ron McLeod
Jeanne Boyarsky
Tim Cooke
Sheriffs:
Liutauras Vilda
paul wheaton
Henry Wong
Saloon Keepers:
Tim Moores
Tim Holloway
Stephan van Hulst
Carey Brown
Frits Walraven
Bartenders:
Piet Souris
Himai Minh
Forum:
Beginning Java
Question about working with arrays
Tom Patrick
Ranch Hand
Posts: 30
posted 21 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
can you dynamically change the size of an array?
For example if you create an array and store 5 values in it, and then want to add 3 more values... can you do that?
Pat Barrett
Ranch Hand
Posts: 63
posted 21 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hello,
The short answer is no, but you can get that type of behavior by using an ArrayList or a Vector.
hth.
Pat B.
Destiny's powerful hand has made the bed of my future. And this tiny ad:
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Assign JavaScript variable to Java variable
return value???
boolean array
Assigning String[] to multiple variables
Array - Security hole
More...