CPP MCQ
What does a class in C++ holds?
A)
arrays
B)
data
C)
functions
D)
both data & functions

Correct Answer : Option (D) :   both data & functions

Explanation : The classes in C++ encapsulates(i.e. put together) all the data and functions related to them for manipulation.