-
Notifications
You must be signed in to change notification settings - Fork 0
yomistandard/oop_python
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Assignment 1: Design Your Own Class! 🏗️ Create a class representing anything you like (a Smartphone, Book, or even a Superhero!). Add attributes and methods to bring the class to life! Use constructors to initialize each object with unique values. Add an inheritance layer to explore polymorphism or encapsulation. Activity 2: Polymorphism Challenge! 🎭 Create a program that includes animals or vehicles with the same action (like move()). However, make each class define move() differently (for example, Car.move() prints "Driving" 🚗, while Plane.move() prints "Flying"✈️ ).
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published