-4

I want to create a multidimensional array dynamically. The number of rows is fixed but the number of columns is changed dynamically. What can I do? Thanks.

3
  • 3
    You can google "dynamic multidimentional array java" Commented May 30, 2013 at 11:34
  • try ArrayList dynamic growable array Commented May 30, 2013 at 11:38
  • see stackoverflow.com/questions/3104504/… Commented May 30, 2013 at 11:41

1 Answer 1

-2

You could use an arraylist like this Arraylist<Object[nbRow]>

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.