Skip to content

Commit 52d9abf

Browse files
Update README.md
1 parent fb1e10d commit 52d9abf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

08_Object_Oriented_Programming/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,11 +174,13 @@ Uniform operations (e.g., restart) for different server types.
174174
```python
175175
from abc import ABC, abstractmethod
176176

177+
# Abstract Class
177178
class CloudProvider(ABC):
178179
@abstractmethod
179180
def create_instance(self):
180181
pass
181182

183+
# Concrete Class
182184
class AWS(CloudProvider):
183185
def create_instance(self):
184186
print("☁️ Launching EC2 instance on AWS...")

0 commit comments

Comments
 (0)