You are creating a class named Sedan that must inherit from the Car class. The Sedan class must modifythe
inherited fourDoor () method.
The Car class is defined as follows.
Future instances of Sedan must be created with the overridden method. You need to write the code to
implement the Sedan class.
Which two code segments should you use? (Each correct answer presents part of the solution. Choose two.)
Get 50% Discount on All Your Purchases
at PrepAway.com - Latest Exam Questions
This is ONE TIME OFFER
50%
ans is B,C
0
1