I have tried a couple of different things, but I am at a loss. Perhaps I am misinterpreting the requirements?
A hint would be appreciated.
package en.codegym.task.pro.task10.task1004;
/*
Need for speed
*/
public class CarConcern {
private final String manufacturer = "Lamborghini";
private final String model;
private final int year;
private final String color;
public CarConcern(String model, int year, String color) {
this.model = model;
this.year = 4321;
this.color = "Orange";
}
public CarConcern(String model, int year) {
this.model = model;
this.year = 4321;
this.color = "Orange";
}
public CarConcern(String model) {
this.model = model;
this.year = 4321;
this.color = "Orange";
}
}