Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

how to declare a dynamic array in java

807591Apr 2 2008 — edited Apr 2 2008
I have to use a dynmic array of boolean and the size of this array will defiend throuh the run of the program to explian
boolean[][] a;
a=new boolean[number_of_ raw][number_of_ culm];
after the program run the number_of_ raw and number_of_ culm will defind..so if any body know how to declare this kind of arraies in java please help me.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 30 2008
Added on Apr 2 2008
6 comments
972 views