moved to ex1 sub-directory

This commit is contained in:
Louis Heredero 2024-11-04 16:52:44 +01:00
parent 80b7f9e80d
commit 8caae17dd4
Signed by: HEL
GPG Key ID: 8D83DE470F8544E7
6 changed files with 10 additions and 10 deletions

View File

@ -1,4 +1,4 @@
package lab8_builder; package lab8_builder.ex1;
public class Car { public class Car {
private String power; private String power;

View File

@ -1,4 +1,4 @@
package lab8_builder; package lab8_builder.ex1;
public abstract class CarBuilder { public abstract class CarBuilder {
protected Car car; protected Car car;

View File

@ -1,4 +1,4 @@
package lab8_builder; package lab8_builder.ex1;
public class CarFactory { public class CarFactory {
private CarBuilder builder; private CarBuilder builder;

View File

@ -1,7 +1,7 @@
package lab8_builder; package lab8_builder.ex1;
import lab8_builder.builders.BerlinBuilder; import lab8_builder.ex1.builders.BerlinBuilder;
import lab8_builder.builders.SportBuilder; import lab8_builder.ex1.builders.SportBuilder;
public class Main { public class Main {
public static void main(String[] args) { public static void main(String[] args) {

View File

@ -1,6 +1,6 @@
package lab8_builder.builders; package lab8_builder.ex1.builders;
import lab8_builder.CarBuilder; import lab8_builder.ex1.CarBuilder;
public class BerlinBuilder extends CarBuilder { public class BerlinBuilder extends CarBuilder {
@Override @Override

View File

@ -1,6 +1,6 @@
package lab8_builder.builders; package lab8_builder.ex1.builders;
import lab8_builder.CarBuilder; import lab8_builder.ex1.CarBuilder;
public class SportBuilder extends CarBuilder { public class SportBuilder extends CarBuilder {
@Override @Override