9 lines
144 B
Java
9 lines
144 B
Java
package lab2_factory_method.ex1;
|
|
|
|
public class Coupe extends Car {
|
|
@Override
|
|
public String getName() {
|
|
return "Coupe";
|
|
}
|
|
}
|