Delos wrote:
I wouldn't be surprised if you could instantiate an object of that same class within a class...though for what reasons, I'm not too sure...
Any sort of structure that links to others like it. A node is the classic example, for the use of creating a linked list.
Another example: Say you wanted to make a grid (for something like Minesweeper). You could do this with a 2D array, yes. However, you could also do it with a Cell object that stores an array of neighbour Cells. This approach would be harder to initialize the grid, but it makes working with the grid much easier.
SuperFreak82: You really need to work on your terminology. If not for Delos' post, I would have no clue what you're asking. You don't "call a class". Heck, you don't even call a method of that class. You call a method of an instance of that class.