98.9k views
1 vote
What is java Encapsulation?​

User Brana
by
5.0k points

1 Answer

7 votes

Answer:e

Explanation: Encapsulation is one of the four fundamental OOP concepts. The other three are inheritance, polymorphism, and abstraction. The other three are inheritance, polymorphism, and abstraction. Encapsulation in Java is a mechanism of wrapping the data (variables) and code acting on the data (methods) together as a single unit

User Jeff Wooden
by
5.9k points