If A is the base class and B is a class derived from A, then Group of answer choices class A has all the members of class B. class B has all the members of class A. classes A and B always have the same members. class A becomes a member in class B.

Respuesta :

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".

What is a class?

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