answersLogoWhite

0


Best Answer

Encapsulation is not needed in Java, or any other language.

But it's useful.

Encapsulation is used to minimise the number of potential dependencies with the highest probability of change propagation.

User Avatar

Wiki User

13y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Why encapsulation is needed in java?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How data hiding is achieved in java?

Data hiding in the java is achieved through the use of encapsulation.


Why java is called truly object oriented language?

because java supports three main pillars.....(inheritance encapsulation and abstraction)..... and everything in java is OBJECT......


Why java do not support global variable declaration?

in order to acheive a inheritance and data encapsulation property global variables are not declared in java.


What are the features of core java?

Core java refers to the core or basic concepts of the Java programming language. Things like encapsulation, inheritance, multi-threading, exception handling and other basic feature of java that comes as part of the Java standard edition forms Core Java


What is the definition of Core Java?

Core java refers to the core or basic concepts of the Java programming language. Things like encapsulation, inheritance, multi-threading, exception handling and other basic feature of java that comes as part of the Java standard edition forms Core Java


What are the features of the core?

Core java refers to the core or basic concepts of the Java programming language. Things like encapsulation, inheritance, multi-threading, exception handling and other basic feature of java that comes as part of the Java standard edition forms Core Java


What term in java is used to indicate that a class's internal state is hidden from its clients?

Encapsulation............Hiding the data from others


What is abstraction method in java?

Abstraction in Java or Object oriented programming is a way to segregate implementation from interface and one of the five fundamentals along with Encapsulation, Inheritance, Polymorphism, Class and Object. Abstraction in Java is achieved by using interface and abstract class in Java.


Is Java script needed for Poptropica?

No, Java script is not needed to play poptropica.


What are basic java features?

features are: 1. Inheritance 2. Polymorphism 3. Data Encapsulation 4. Data Abstraction etc..


Is java needed to run PC?

No, Java is needed only if you run programs that are written in Java. The majority of computer users today could disable Java and never know the difference.


What is feture of java?

These are follows: 1-It is a platform independency. 2-Multithreding. 3-polymorphism. 4-encapsulation. 5-inheritence. 6-multitasking.