char[] is an array of primitive chars, which cannot be null because they're value types rather than reference types.
I recommend looking up a Java tutorial or two on the difference between reference types (objects) and primitives.
come on ...
char[] is an array of primitive chars, which cannot be null because they're value types rather than reference types.
I recommend looking up a Java tutorial or two on the difference between reference types (objects) and primitives.