OOP Assignment 1
OOP Assignment 1
Dear Students
Read the following lines at least 5 to 10 times before
starting the Assignment. Hope you will find motivation.
Submission guidelines:
Best of Luck
Object Oriented Programming
Q1 Define Class and Object? Make classes for the objects in the following picture and write their possible
attributes and operation using the concept of Abstraction and Encapsulation. I need only class name,
class variables and class functions from you.
Object Oriented Programming
Q3: Write a complete Class called “Triangle”, which represents a mathematical triangle. (10 points)
Q4: Create a Car class. Identify the attributes and functions of the class (with respect to driver and not
engineer)
For Example:
Programming is Fun