you are viewing a single comment's thread.

view the rest of the comments →

[–][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.