Q:

Which among the following best describes encapsulation?

0

Which among the following best describes encapsulation?


  1. It is a way of combining various data members into a single unit
  2. It is a way of combining various member functions into a single unit
  3. It is a way of combining various data members and member functions into a single unit which can operate on any data
  4. It is a way of combining various data members and member functions that operate on those data members into a single unit

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

 (d).It is a way of combining various data members and member functions that operate on those data members into a single unit

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

OBJECT ORIENTED PROGRAMMING OOPS CONCEPT AND FEATURES MCQ

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now
If data members are private, what can we do to acc... >>
<< If 2 classes derive one base class and redefine a ...