Multiple choice

Constructor function must always have the same name as the class.

  1. True

  2. False

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

A constructor is a special member function that must have the exact same name as the class it belongs to.