Notifications
Clear all
Programming
Students’s Forum
1
Posts
2
Users
1
Likes
346
Views
0
07/04/2023 5:08 pm
Topic starter
What is object oriented programming?
Answer
Add a comment
Add a comment
1 Answer
1
07/04/2023 5:20 pm
Object oriented programming is a programming paradigm in which we have class to represent the the structure of real world entities and object to represent entities themselves. In this we think of real world we have class that behave like the things in real world, e.g. a Car class might have data to represent its price, color, weight and functions that are the functions of a car, such as blow_horn(), drive() etc. All these things make the class ‘Car’ represent the real world car which is the whole point of object oriented programming. OOP also a things such as inheritance, which is relation of being a member of a family. e.g. class ‘Sudan’ is member of ‘Car’ family so ‘Sudan’ derives from ‘Car’ etc.
Add a comment
Add a comment
Forum Information
- 14 Forums
- 1,835 Topics
- 5,051 Posts
- 0 Online
- 1,078 Members
Our newest member: Richardnop
Latest Post: loli
Forum Icons:
Forum contains no unread posts
Forum contains unread posts
Topic Icons:
Not Replied
Replied
Active
Hot
Sticky
Unapproved
Solved
Private
Closed