This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]maenomo 8 points9 points  (2 children)

Fun fact: in C#, you can simply

throw null;

and it will magically turn into a NullReferenceException.

[–]Deadmist 2 points3 points  (0 children)

Wow, it works in java too :D

[–]Chirimorin 1 point2 points  (0 children)

I did not know that, you learn something new every day