Sign in to follow this  
xyuri

java - passing an array to modify

Recommended Posts

I need to pass an array to a function and have that function expand that array. Is it possible to do this with java? I need the array referenced to expand, not return an expanded array. Anyone?

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
I don't think this is possible, but it is with ArrayList

Good Luck

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this