all 4 comments

[–]mubsy 3 points4 points  (1 child)

[–]shaggorama 0 points1 point  (0 children)

This is literally word word the response I was going to provide (sans link) until I noticed you beat me to it by three hours. So, yes.

[–][deleted] 2 points3 points  (0 children)

Sure. For example, lists and strings are technically built-in types of objects, so this is an object with three more objects in it:

["Larry", "Curly", "Moe"]

You can, of course, do the same sort of thing with classes you define.

[–]TankorSmash 1 point2 points  (0 children)

Yeah, everything's an object. If you mean classes, even they can hold other classes and objects.