How to get the size of int array in JAVA?

0 votes
40 views
asked Jun 18, 2014 in JAVA by kalpana (3,995 points)
Hi all

   How to get the size of int array in JAVA?

1 Answer

0 votes
answered Jun 18, 2014 by codeg (2,600 points)

Hi Kalpana

  For string use  MyString.length()

  For array (Int array )use Myarray.length

...