Which of the following is not true for classes?

Options
- The memory that holds class instances is allocated on the stack.
- Classes are reference types.
- The memory that holds class instances is allocated on the heap.


CORRECT ANSWER : The memory that holds class instances is allocated on the stack.

Write your comments


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)


Advertisement