We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4ba6d62 commit f173003Copy full SHA for f173003
1 file changed
Rental.java
@@ -20,15 +20,6 @@ public void addAllVehicles(Vehicle... vehicles) {
20
}
21
22
23
- public void transformAllTrucks() {
24
- for (Vehicle c : vehicles) {
25
- if (c instanceof Truck) {
26
- Truck t = (Truck) c;
27
- t.transform();
28
- }
29
30
31
-
32
public void print() {
33
System.out.println(name);
34
System.out.println("Unsere Fahrzeuge: ");
0 commit comments