jugnu900-avatar

What is the method for declaring an array in Java.

Can some one out in the Docsity world provide the details.
0%

6 replies

over 13 years ago
jacksonhh-avatar
"Declaring an Array : Arrays in Java are declared in one of the two forms :_x000D_ Form 1 type arrayname[];_x000D_ Form 2 type[]arrayname;_x000D_ e.g. int number[];_x000D_ int[] counter;_x000D_ _x000D_ _x000D_ Source: http://in.docsity.com/en-docs/Object_Oriented_Programming_-_JAVA_and_VISUAL_BASIC__lecture_notes__A__SINGH"
over 13 years ago
anushka-avatar
You may either employ range assertion or range literal (but only an individual announce in addition to bear upon the particular varied instantly, variety literals can't be used for lso are-determining a wide range).