Computer Applications

Which of the following principle does not allow to access directly from outside the class premises?

  1. data hiding
  2. encapsulation
  3. abstraction
  4. all of the above

OOP Intro Java

125 Likes

Answer

all of the above

Reason — Data hiding, Encapsulation and Abstraction, all the three restrict direct access to data from outside a class.

Answered By

42 Likes


Related Questions