Solved

Consider the Following Code Snippet

Question 27

Multiple Choice

Consider the following code snippet:
Public class SailBoat extends Vessel
{ ) . . }
Public class Catamaran extends SailBoat
{ ) . . }
Which of the following statements is NOT correct?


A) SailBoat inherits from Vessel.
B) Catamaran inherits from Vessel.
C) Catamaran inherits from Sailboat.
D) Catamaran depends on SailBoat.

Correct Answer:

verifed

Verified

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

Related Questions