+ 1
int arr=new int['a']; what is meant by character 'a' in this declaration??I came through this question in the quiz.
2 odpowiedzi
+ 2
It basically assigns the ASCII value of 'a' as the size of array which is 97.
// This will give you the length of array
System.out.print(a.length);
0
Thank you 👍