浏览代码

Update 'README.md'

Kristofer Younger 6 年前
父节点
当前提交
1f526408ff
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. 6
    0
      README.md

+ 6
- 0
README.md 查看文件

@@ -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?