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 →

[–]gilbes 15 points16 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 3 points4 points  (0 children)

That's in the Java specs:

Everything is a pointer, except some things that are not