InterviewSolution
Saved Bookmarks
| 1. |
What Is An Object And How Do You Allocate Memory To It? |
|
Answer» OBJECT is an instance of a class and it is a SOFTWARE unit that combines a structured SET of data with a set of operations for inspecting and manipulating that data. When an object is CREATED using new operator, memory is allocated to it. Object is an instance of a class and it is a software unit that combines a structured set of data with a set of operations for inspecting and manipulating that data. When an object is created using new operator, memory is allocated to it. |
|