Which of the following statement is correct about class in C++?

166. Which of the following statement is correct about class in C++?

  1. Class is an instance that contains data member and member functions.
  2. Class is fundamental that contains data member and member functions.
  3. Class is a blueprint for a data type that encapsulates data member and member functions.
  4. None of the above

Answer: C) Class is a blueprint for a data type that encapsulates data member and member functions.

Explanation:

Class is a blueprint for a data type that encapsulates data member and member functions.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.