Change the constructor as Norm says.
class Apple extends Fruit {
String color;
String type;
public Apple(String color_, String type_) {
this.color = color_;
this.type =...
Type: Posts; User: Eugeniusz
Change the constructor as Norm says.
class Apple extends Fruit {
String color;
String type;
public Apple(String color_, String type_) {
this.color = color_;
this.type =...