moved to ex1 sub-directory
This commit is contained in:
20
src/lab8_builder/ex1/CarBuilder.java
Normal file
20
src/lab8_builder/ex1/CarBuilder.java
Normal file
@@ -0,0 +1,20 @@
|
||||
package lab8_builder.ex1;
|
||||
|
||||
public abstract class CarBuilder {
|
||||
protected Car car;
|
||||
|
||||
protected abstract String getCarType();
|
||||
|
||||
public Car getCar() {
|
||||
return car;
|
||||
}
|
||||
|
||||
public void setCar(Car car) {
|
||||
this.car = car;
|
||||
}
|
||||
|
||||
public abstract void buildEngine();
|
||||
public abstract void buildBreaks();
|
||||
public abstract void buildSeats();
|
||||
public abstract void buildWindows();
|
||||
}
|
||||
Reference in New Issue
Block a user