A class is a template specification of the methods and variables of a certain type of object in object-oriented programming. The correct description is "Class A has all the members of class B".
A class is a template specification of the methods and variables of a certain type of object in object-oriented programming. An object is therefore a specific instance of a class that holds real values rather than variables. One of the fundamental concepts of object-oriented programming is class.
Since class A is the base, and class B is derived from class A. Therefore, the correct description is "Class A has all the members of class B".
Learn more about Class:
https://brainly.com/question/17001900
#SPJ1