Question Detail A class having no public constructors is A public protected classA public classA protected classA private class Answer: Option D Similar Questions : 1. int *ptr[5]; a pointer of 5 int elementsan array of 5 int pointersan array of 5 elements returning an int valuenone of above Answer: Option B 2. In C++ Functions can returns ? arraysreferenceobjectsall of above Answer: Option D 3. What is purpose of abstract class ? to provide help with database connectivity.to provide data input to other classes.to provide security to other classes.to provide an appropriate base class from which other classes can inherit. Answer: Option D 4. What among following is a generic class ? Function TemplateClass TemplateInherited TemplateNone of above Answer: Option B 5. The major goal of inheritance in C++ is ? To facilitate the reusability of codeTo help modular programmingTo facilitate the conversion of data typesTo extend the capabilities of a class Answer: Option A Read more from - C++ Programming Questions Answers - Set 2