posted 16 years ago
Output:
[12, 2, 43, 67, 4, 1, 23]
[I@5224ee
Output varies:
Isn't its answer that Integer class overrides the toString() method and in case of int[], Object class version of toString() used?
How all the values of Integer[] printed when we merely pass an reference variable. What happens inside the toString(), does it do complete traversal or use Iterator or something.
Please help!!!
cmbhatt