1) For main class of car has attributes fuel tank capacity, whether the car has 4 wheels or not, no of doors ceate 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 question 1
3) Write polymorphism using for loop for question 2 implement getters and setters where write entire code in main method but not in case or small car.
4) Create getters and setters for employee where x employee must be implemented with interface.
5) Difference between string class and string builder class.