If Two Classes Combine Some Private Data Members And Provides #102
If two classes combine some private data members and provides public member functions to access and manipulate those data members. Where is abstraction used?
This multiple choice question (MCQ) is related to the book/course
gs gs111 OOP Object Oriented Programming Java.
It can also be found in
gs gs111 OOPs Concept & Features - OOPs MCQ: Abstraction - Quiz No.2.
If two classes combine some private data members and provides public member functions to access and manipulate those data members. Where is abstraction used?
Using private access specifier for data members
Using class concept with both data members and member functions
Using public member functions to access and manipulate the data members
Data is not sufficient to decide what is being used