Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Printing null in Java (kth.se)
3 points by Rondom on Nov 10, 2015 | hide | past | favorite | 2 comments


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.


"With some more research funding I might be able to figure this out!"

come on ...




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

Search: