Question: What is encapsulation in Object - oriented programming ( Java ) ? The wrapping up of data and functions into a single unit called class.

What is encapsulation in Object-oriented programming (Java)?
The wrapping up of data and functions into a single unit called class.
The concept that prevents external access to certain classes or objects' features.
A feature that allows native code (C-code, for example) to be used in Java programs.
The mechanism by which we can have many methods called the same thing as long as the list of
parameters (their types, number, or both) are different.
What is encapsulation in Object - oriented

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!