Answered You can hire a professional tutor to get the answer.
Design JAVA classes vehicle, car, american_car, foreign_car, truck, and bicycle with ALL appropriate inheritances.
5. Call a method that prints the vehicles in area code 987.THERE ARE NO PROMPTS. JUST RUN THE PROGRAM.Be sure to declare variables as private, to extend all the classes appropriately, and to have the right constructors (using super where appropriate), and the getters and setters for ALL the variables. MUST SEND ALL THE OUTPUT FROM PRINTING TO THE CONSOLE, NOT TO A WINDOW