Riya@23

@jamesCherrill : Thank you for your clear cut explanation. My doubt got cleared. I searched everywhere on internet but could not get satisfactory answer.. I got it here..From you! Thanks a ton!!! Cheers !

Riya@23

@Assert_null : So you trying to say that this unique behaviour of char array in java can be justified by the assumption that in JAVA displaying an array of characters means displaying them as a string.

Riya@23

Guys I recently discovered that char array can also be printed in java without for loop and the output is a string.But when i tried the same for int array, I got some gibberish value which i though to be memory address pointed by array as it contains reference to the array elements. I read the explanation given by one of the the programmer here but somehow I did not actually understand it.. Could anyone please explain it in a better way ??