How can I get the size?

Posted by Sanju on Stack Overflow See other posts from Stack Overflow or by Sanju
Published on 2010-03-27T11:37:32Z Indexed on 2010/03/27 11:43 UTC
Read the original article Hit count: 317

Filed under:

I got a class. Lets say its named Class1 Here I create another class, Class2

Class2 has an arrya[]

No my question is. When I create Class2 I cant have any size of the array with me in. How can I then know how big I want the array to be???

Out in Class1 I know how big it is. Thanks in Advance.

© Stack Overflow or respective owner

Related posts about java