Question Detail

What is class in c++ ?

  • When you define a class, you define a blueprint for a data type.
  • When you define a class, you make get more funtionality.
  • When you define a class, you define the logic.
  • When you define a class, you make debugging.
Similar Questions :

1. What is class in c++ ?

  • When you define a class, you define a blueprint for a data type.
  • When you define a class, you make get more funtionality.
  • When you define a class, you define the logic.
  • When you define a class, you make debugging.

2. The antonym of constructor is ?

  • Creator
  • Distinct
  • Destroyer
  • Destructor

3. The process of deriving a class from another derived class is known as ?

  • single inheritance
  • dual inheritance
  • multiple inheritance
  • multilevel inheritance

4. What is object in C++ ?

  • Object is part of syntax of a class.
  • Object is datatype of a class.
  • Object is an instance of a class.
  • Object is function of a class.

5. What among following is a generic class ?

  • Function Template
  • Class Template
  • Inherited Template
  • None of above
Read more from - C++ Programming Questions Answers - Set 2