Multiple Choice
To create a class Customer that derives from the class Person , you should use the following syntax:
Class Customer ____ public Person // public may be replaced
// by another class access
// specifier
{
// other statements go here
};
A) :
B) extends
C) ::
D) ->
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q14: Provide an example of a situation in
Q15: When a class is a base class
Q16: Match each term with the correct statement
Q17: Inheritance is said to use the _
Q18: Match each term with the correct statement
Q20: A derived class is also called a
Q21: _ data and functions can be accessed
Q22: _ is based on the principle that
Q23: Match each term with the correct statement
Q24: When a child class function overrides a