Skip to content

Commit 1e605a2

Browse files
committed
Updated TestPiano assignment in Ch. 12 to clarify that Piano extends Instrument
1 parent 8aad054 commit 1e605a2

File tree

8 files changed

+4
-4
lines changed

8 files changed

+4
-4
lines changed
Binary file not shown.
Binary file not shown.
Binary file not shown.

src/com/codefortomorrow/intermediate/chapter12/practice/TestPiano.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
package com.codefortomorrow.intermediate.chapter12.practice;
22

33
/*
4-
Create the Piano class such that
5-
when you call the playTriad() method,
4+
Create the Piano class (which inherits the Instrument class)
5+
such that when you call the playTriad() method,
66
it calls the play() method from the
77
Instrument class 3 times.
88

src/com/codefortomorrow/intermediate/chapter12/solutions/TestPiano.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
package com.codefortomorrow.intermediate.chapter12.solutions;
22

33
/*
4-
Create the Piano class such that
5-
when you call the playTriad() method,
4+
Create the Piano class (which inherits the Instrument class)
5+
such that when you call the playTriad() method,
66
it calls the play() method from the
77
Instrument class 3 times.
88

0 commit comments

Comments
 (0)