Computer Applications
Define Encapsulation.
OOP Intro Java
ICSE 2016
13 Likes
Answer
Encapsulation is a mechanism that binds together code and the data it manipulates. It keeps them both safe from the outside world, preventing any unauthorised access or misuse. Only member methods, which are wrapped inside the class, can access the data and other methods.
Answered By
7 Likes
Related Questions
Name the feature of Java depicted in the below picture.

- Encapsulation
- Inheritance
- Data Abstraction
- Polymorphism
Which of the following can flow freely in Procedure Oriented Programming languages ?
- function
- data
- statement
- instruction
In assembly language, the instructions are given in terms of 0's and 1's.
Which of the following is a Procedure Oriented Programming language?
- Java
- C++
- Pascal
- Eiffel