Solved

You Are Creating a Motorcycle Class Which Is Supposed to Be

Question 21

Multiple Choice

You are creating a Motorcycle class which is supposed to be a subclass of the Vehicle class.Which of the following class declaration statements will accomplish this?


A) public class Motorcycle extends Vehicle
B) public class Motorcycle implements Vehicle
C) public class Motorcycle interfaces Vehicle
D) public class Motorcycle inherits Vehicle

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents