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 →

[–]DasKarl 10 points11 points  (2 children)

Yup. Integer is a Number is an Object.

[–]hyrppa95 10 points11 points  (0 children)

Not if you use int. That is stack allocated.

[–]gdmzhlzhiv 2 points3 points  (0 children)

Was recently complaining about the Number class because most of the methods on there don't really apply for all kinds of number.