(Solved):Pseudocode Car Class: Design a class named Car that has the following fields: yearModel: The yearModel field is an Integer that holds the car’s year model. make: The make field references a String… View Answer…

 

Question

Pseudocode Car Class: Design a class named Car that has the following fields:

yearModel: The yearModel field is an Integer that holds the car’s year model. make: The make field references a String that holds the make of the car.

speed: The speed field is an Integer that holds the car’s current speed.

In addition, the class should have the following constructor and other methods:

Constructor: The constructor should accept the car’s year model

Scroll to top