In Java array of characters is not a String :
In Java programming language an array of char is neither a String nor an array of char is terminated by '\u0000' (the NULL character).
A String object is immutable, that is, its contents never change, while an array of
char has mutable elements,But the length of array is final.
0 comments:
Post a Comment