Computer Applications
Which keyword allocates objects in dynamic memory?
- this
- private
- new
- int
Objects & Classes
6 Likes
Answer
new
Reason — The keyword new
is used to allocate space in the dynamic memory for the storage of an object.
Answered By
3 Likes
Related Questions
Creating an object of a class is also referred to as:
- Initialisation
- Creation
- Formation
- Instantiation
By default, a class is declared using the access specifier …………… .
- private
- public
- protected
- secured
Read the following text, and choose the correct answer:
They are the real world or software world entities which possess different characteristics and common behaviour described within the class.
Which of the following concept of Object Oriented Programming describe?
- Class
- Object
- Quality
- Category
Fill in the blanks:
A _________ is also considered as an object factory.