소스 검색

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.