+ 1
If a[ ] is an array then what does System.out.println(a) print ?
2 Respostas
+ 1
Well the answer to this is:
Class name@haschcode in hexadecimal form
+ 1
If we try to print any reference variable internally, toString() will be called which is implemented to return the string in the above stated format👆.