Answer to Question #236105 in C++ for SOM

Question #236105

Is it allowed to define constructor in private section of the class?If no, then give explanation for the same. If yes then explain how will it be accessible.



1
Expert's answer
2021-09-14T18:27:37-0400

Yes a constructor can be defined in private section of the class. Its objects are only accessible from within the declared class. You cannot access its objects from outside the constructor class.




Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS