InterviewSolution
Saved Bookmarks
| 1. |
How much memory does a class occupy? |
|
Answer» Classes do not consume any memory. They are just a blueprint BASED on which OBJECTS are CREATED. Now when objects are created, they ACTUALLY initialize the class MEMBERS and methods and therefore consume memory. |
|