Computer Applications
Which of the following principle does not allow to access directly from outside the class premises?
- data hiding
- encapsulation
- abstraction
- 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
In object oriented programming, the stress is given on:
- procedure
- methods
- class
- data
The process of combining data and functions that enables them to be together as a single entity is called
- inheritance
- encapsulation
- classification
- attributes
The process by which a class acquires the properties from another class is called:
- polymorphism
- inheritance
- abstraction
- object
In procedural programming, the stress is laid on:
- class
- function
- data
- object