Computer Applications

Which keyword allocates objects in dynamic memory?

  1. this
  2. private
  3. new
  4. 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