Ans:
When the Java Virtual Machine (JVM) initially starts the process of running a java program, it allocates a portion of memory to be used as Heap (you can actually specify the Heap size on the command line when you run the program). While the JVM is running the program, whenever a new object is created, the JVM reserves as portion of the Heap for that object (where the object will be stored). The amount of Heap that gets reserved is based on the size of the object. The JVM maps out this segment in the Heap to represent all of the attributes...