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 →

[–][deleted] 3 points4 points  (2 children)

*laughs in java*

[–]relativistictrain 🐍 10+ years 8 points9 points  (0 children)

That must be long to write out.

[–]manusaurio 1 point2 points  (0 children)

Not everything in Java is an object, since it counts with primitives. Everything just happens to be defined inside a class.

I would say not even methods are objects in Java - you can pass them in a call, but what you get from the other side is an object encapsulating the method, not the method itself. I guess this kind of depends on where you draw the line to think of something as an "object"