Which one of the following is not the characteristic of a constructor?

56. Which one of the following is not the characteristic of a constructor?

  1. Constructors can be virtual
  2. Constructors cannot be referred by their address
  3. Constructors cannot be inherited
  4. Constructors are called automatically

Answer: A) Constructors can be virtual

Explanation:

Constructors cannot be virtual, because there is not a virtual table in the memory.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.