Car
In this problem, you are practicing adding a non-default constructor to a class as well as a default constructor. Why might you want to add more than one constructor?
Consider the Car class shown. A student programmer would like to be able to create objects using the two lines of code below. Write the necessary constructors so that the student's code would be valid.
Car temp = new Car();
Car jeep = new Car("Wrangler", 2021);
Hint: These lines of code are from Unit 2 - creating of objects. The two lines of code above tell you what the user is expecting to pass to the constructor. The constructor headers should reflect the type of data you see above. Finally, if you include a non-default constructor (a constructor with parameters) then you must also explicitly include a default constructor.