0

How to define Arrays in Java.

Arrays

15th Apr 2023, 11:51 AM
Khalid Niazi
Khalid Niazi - avatar
4 ответов
+ 9
Khalid Niazi Learn Java course from sololearn array topic is covered in this course https://www.sololearn.com/learn/courses/java-introduction
15th Apr 2023, 11:55 AM
Sakshi [Offline 🙃]
Sakshi [Offline 🙃] - avatar
+ 6
int[] arr = new int[5]; String[] arr = new String[5];
15th Apr 2023, 1:09 PM
A͢J
A͢J - avatar
+ 4
16th Apr 2023, 9:57 AM
😇🌟SWATI🌟😇
😇🌟SWATI🌟😇 - avatar
+ 3
An array cna be declared as: int arr[] = new int[10] The sintax is: datatype variable_name[] = new datatype[size]
15th Apr 2023, 1:25 PM
Ugulberto Sánchez
Ugulberto Sánchez - avatar