Multiple choice

If a class is defined with the name 'A', then what will be the valid declaration(s) for the constructor of the class?

  1. A()

  2. A::A()

  3. ~A()

  4. Both (1) and (2)

  5. All of the above

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

Yes, both the options determine the true concept.