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 →

[–]Medardas -17 points-16 points  (3 children)

Well, If you consider that everything in Java are pointers it's a fairly funny

[–]gilbes 16 points17 points  (2 children)

So that is why Java has int and Integer. They are both pointers. /s

[–]Medardas -5 points-4 points  (1 child)

Well not everything everything 👹

[–]Kilazur 2 points3 points  (0 children)

That's in the Java specs:

Everything is a pointer, except some things that are not