瀏覽代碼

Update 'README.md'

git-leon 5 年之前
父節點
當前提交
e353514563
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. 2
    2
      README.md

+ 2
- 2
README.md 查看文件

@@ -8,8 +8,8 @@ There is 35 pages of reading and exercises in the chapter.
8 8
 Work through all these exercises. You edit this file with your answers for these exercises.
9 9
 
10 10
 ### Exercise 2.1
11
-* Create a TicketMachine object on the object bench.
12
-* Upon viewing its methods, `getBalance`, `getPrice`, `insertMoney`, `printTicket`.
11
+* Create a `TicketMachine` object on the object bench.
12
+* The following methods should be available upon invoking it from the object bench `getBalance`, `getPrice`, `insertMoney`, `printTicket`.
13 13
 * Use `getPrice` method to view the value of the price of the tickets that was set when this object was created.
14 14
 * Use `insertMoney` method to simulate inserting an amount of money into the machine.
15 15
 * Use `getBalance` to check that the machine has a record of the amount inserted.