+ 2
It s strange to me how in Java you can mention name of array before or after barackets
5 ответов
+ 2
if you were to specify elements of the array you can mention the name before or after square barackets in the tutorial
+ 1
int myarr[ ] [ ]={1,2,3},{4},,{5,6,7};
myarr[0][1]=42 i don t get this index system
0
Its always the same. First comes the type, then the brackets and then the name of the array. So if you want to declare a String array named test it would be.
String{} test=...
0
You mean like
test{//values} or {//values}test
?