Question: Question 27 2 pts Suppose the class Car is a derived class of a class Automobile, and suppose also that the class Automobile has public

Question 27 2 pts Suppose the class Car is a derived class of a class Automobile, and suppose also that the class Automobile has public methods named accelerate and addGas. Will an object of the class Car have methods named accelerate and addGas? O No Can't Say O Yes | Question 28 2 pts Suppose the class Car is a derived class of a class Automobile, and suppose also that the class Automobile has public methods named accelerate and addGas. Do these methods have to perform the exact same actions in the class Car as in the class Automobile? O No o Yes Can't Say Question 29 1 pts An interface can have private methods. True Can't say False
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
