In oop which concepts allows class object to be used inside another class
Answers
Answered by
0
there are three types of classes in oop
1.private data type
does not allow any other class to access to his members.in other it keeps data private
2.public data type
public data type shows his members to the public
3.protected data type
it is mediate between private and public
in oop when we declare a class as public we can use its objects to other classes as well.as public data types allows to access other classes
Similar questions