Answered step by step
Verified Expert Solution
Question
1 Approved Answer
i need 3rd answer 1)For main class of car has attributes fuel tank capacity, whether the car has 4 wheels or not, no of doors
i need 3rd answer
1)For main class of car has attributes fuel tank capacity, whether the car has 4 wheels or not, no of doors create sub class called small car with attributes miles driven, make, model using getters and setters must have two constructors apply exception handling write test cases happy and worst path with UML diagram representation.
2)Write abstract class for question1
3)Write polymorphism using for loop for question 2 implement getters and setters where write entire code in main method but not in car or small car.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started