Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 

Repository files navigation

Week 5 Assignment - Object Oriented Programming (OOP)

This repository contains the solutions for Week 5 Assignment:

Assignment 1: Design Your Own Class πŸ—οΈ

  • Created a Smartphone class with attributes and methods.
  • Added GamingPhone as a subclass with extra functionality.

Assignment 2: Polymorphism Challenge 🎭

  • Implemented a Vehicle class with subclasses Car, Plane, and Boat.
  • Each class defines move() differently to demonstrate polymorphism.

How to Run

python assignment5.py

πŸŽ‰ Enjoy exploring OOP concepts!

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages