0

Lets for say I'm building a social network and I have multiple classes. do I have to create an object for each class?

object oriented programming

13th Jan 2017, 11:07 AM
Mazin
Mazin - avatar
2 Respuestas
+ 6
Not for each class because many classes will be super class and their respective sub classes. Inheritance is used in that situation.
13th Jan 2017, 11:10 AM
Sachin Artani
Sachin Artani - avatar
0
Thank you for the quick response Sachin... So what else can i create besides the user object ?
13th Jan 2017, 11:54 AM
Mazin
Mazin - avatar