File tree Expand file tree Collapse file tree 2 files changed +10
-10
lines changed
bird-watcher/src/main/java
elons-toy-car/src/main/java Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -7,26 +7,26 @@ public BirdWatcher(int[] birdsPerDay) {
7
7
}
8
8
9
9
public int [] getLastWeek () {
10
- throw new UnsupportedOperationException ("Please implement the BirdCount .getLastWeek() method" );
10
+ throw new UnsupportedOperationException ("Please implement the BirdWatcher .getLastWeek() method" );
11
11
}
12
12
13
13
public int getToday () {
14
- throw new UnsupportedOperationException ("Please implement the BirdCount .getToday() method" );
14
+ throw new UnsupportedOperationException ("Please implement the BirdWatcher .getToday() method" );
15
15
}
16
16
17
17
public void incrementTodaysCount () {
18
- throw new UnsupportedOperationException ("Please implement the BirdCount .incrementTodaysCount() method" );
18
+ throw new UnsupportedOperationException ("Please implement the BirdWatcher .incrementTodaysCount() method" );
19
19
}
20
20
21
21
public boolean hasDayWithoutBirds () {
22
- throw new UnsupportedOperationException ("Please implement the BirdCount .hasDayWithoutBirds() method" );
22
+ throw new UnsupportedOperationException ("Please implement the BirdWatcher .hasDayWithoutBirds() method" );
23
23
}
24
24
25
25
public int getCountForFirstDays (int numberOfDays ) {
26
- throw new UnsupportedOperationException ("Please implement the BirdCount .getCountForFirstDays() method" );
26
+ throw new UnsupportedOperationException ("Please implement the BirdWatcher .getCountForFirstDays() method" );
27
27
}
28
28
29
29
public int getBusyDays () {
30
- throw new UnsupportedOperationException ("Please implement the BirdCount .getBusyDays() method" );
30
+ throw new UnsupportedOperationException ("Please implement the BirdWatcher .getBusyDays() method" );
31
31
}
32
32
}
Original file line number Diff line number Diff line change 1
1
public class ElonsToyCar {
2
2
public static ElonsToyCar buy () {
3
- throw new UnsupportedOperationException ("Please implement the (static) RemoteControlCar .buy() method" );
3
+ throw new UnsupportedOperationException ("Please implement the (static) ElonsToyCar .buy() method" );
4
4
}
5
5
6
6
public String distanceDisplay () {
7
- throw new UnsupportedOperationException ("Please implement the RemoteControlCar .distanceDisplay() method" );
7
+ throw new UnsupportedOperationException ("Please implement the ElonsToyCar .distanceDisplay() method" );
8
8
}
9
9
10
10
public String batteryDisplay () {
11
- throw new UnsupportedOperationException ("Please implement the RemoteControlCar .batteryDisplay() method" );
11
+ throw new UnsupportedOperationException ("Please implement the ElonsToyCar .batteryDisplay() method" );
12
12
}
13
13
14
14
public void drive () {
15
- throw new UnsupportedOperationException ("Please implement the RemoteControlCar .drive() method" );
15
+ throw new UnsupportedOperationException ("Please implement the ElonsToyCar .drive() method" );
16
16
}
17
17
}
You can’t perform that action at this time.
0 commit comments