|
@@ -3,3 +3,9 @@
|
3
|
3
|
the second Objects lab.
|
4
|
4
|
|
5
|
5
|
look for the Chapter reading you need in the doc folder.
|
|
6
|
+
|
|
7
|
+Exercise 2.16 To what class does the following constructor belong?
|
|
8
|
+`public Student(String name)`
|
|
9
|
+Exercise 2.17 How many parameters does the following constructor have andwhat are their types?
|
|
10
|
+`public Book(String title, double price)`
|
|
11
|
+Exercise 2.18 Can you guess what types some of the Bookclass’s fields mightbe? Can you assume anything about the names of its fields?
|