Q:

While using encapsulation, which among the following is possible?

0

While using encapsulation, which among the following is possible?


  1. Code modification can be additional overhead
  2. Data member’s data type can be changed without changing any other code
  3. Data member’s type can’t be changed, or whole code have to be changed
  4. Member functions can be used to change the data type of data members

All Answers

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

 (b).Data member’s data type can be changed without changing any other code

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
Which feature can be implemented using encapsulati... >>
<< If data members are private, what can we do to acc...