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 these

OOP Intro Java

147 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

54 Likes


Related Questions