Update transaction-script/Readme.md
Co-authored-by: Ilkka Seppälä <iluwatar@users.noreply.github.com>
This commit is contained in:
		| @@ -76,7 +76,7 @@ public class Hotel { | ||||
| } | ||||
| ``` | ||||
|  | ||||
| This class has two methods, one for booking and cancelling a room respectively. | ||||
| The `Hotel` class has two methods, one for booking and cancelling a room respectively. Each one of them handles a single transaction in the system, making `Hotel` implement the Transaction Script pattern. | ||||
|  | ||||
| ``` | ||||
| public void bookRoom(int roomNumber); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user