Variables declared in the body of a particular member function are known as data members and can be used in all member functions of the class.
Correct Answer:
Verified
Q6: Which type of class has only one
Q7: What is a constructor?
A)a class automatically called
Q8: Under what conditions a destructor destroys an
Q9: When class B is inherited from class
Q10: Which one of the following is not
Q12: In a class definition, data or functions
Q13: A member function can always access the
Q14: Classes are useful because they
A)can closely model
Q15: For the object for which it was
Q16: Dividing a program into functions
A)is the key
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents