Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Here, let me save you the research funding:

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.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: