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
Which of the following can flow freely in Procedure Oriented Programming languages ?
- function
- data
- statement
- instruction
What is the literal meaning of Polymorphism?
- Using different operations for same purpose
- Using same operation for different purposes
- Using same data in different functions
- None of them
Which of the following is a Procedure Oriented Programming language?
- Java
- C++
- Pascal
- Eiffel
Procedure Oriented Programming follows:
- Top-down approach
- Down-top approach
- Random approach
- Normal approach