We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e737b13 commit d94e9dfCopy full SHA for d94e9df
2_OCP_code_refactor.md
@@ -1,9 +1,9 @@
1
> refactor Customer class to follow the OCP
2
3
- class Player {
+ class Customer {
4
int GetDiscount { return 10; }
5
}
6
- class GoldPlayer : Player {
+ class GoldCustomer : Customer {
7
int GetDiscount { return 50; }
8
9
0 commit comments