............... are always declared in public section. Fill in the blank
Answers
Answered by
0
holidays are always declared in public section
Answered by
0
Constructor functions are normally declared in the public section,A constructor is a special member function of a class which initializes objects of a class.
In C++, constructor is automatically called when object of a class is created.
By default, constructors are defined in public section of class.
So, question is can a constructor be defined in private section of class ?
Answer : Yes, Constructor can be defined in private section of class
Similar questions
Social Sciences,
7 months ago
Science,
7 months ago
Computer Science,
1 year ago
Biology,
1 year ago