Given a base class named Vehicles and a derived class named Sedans, __________ can inherit from __________.

a. Sedans can inherit from Vehicles
b. Vehicles can inherit from Sedans
c. Inheritance is not possible here because there is no superclass.
d. Inheritance is not possible here because there is no subclass.


a. Sedans can inherit from Vehicles

Computer Science & Information Technology

You might also like to view...

Identify five advantages of TCP/IP (Transmission Control Protocol/Internet Protocol)

What will be an ideal response?

Computer Science & Information Technology

Which of the following authentication protocols secures the credentials?

A. PAP B. PPP C. SLIP D. CHAP

Computer Science & Information Technology

Which of the following requirements is part of the protect cardholder data PCI DSS core principle?

A. Maintain a policy that addresses information security for all personnel. B. Develop and maintain secure systems and applications. C. Restrict physical access to cardholder data. D. Protect stored card data.

Computer Science & Information Technology

A file stream is closed using the ____ function.

A. exit() B. osclose() C. fclose() D. close()

Computer Science & Information Technology