Skip to content

Commit ebd84ea

Browse files
committed
Fifth Recorded Day
1 parent 6cb553a commit ebd84ea

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

Composition/Engine.java

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
public class Engine {
2+
3+
String type;
4+
5+
Engine(String type) {
6+
this.type = type;
7+
}
8+
9+
void start() {
10+
System.out.println("You start the " + this.type + " engine");
11+
}
12+
}

0 commit comments

Comments
 (0)