adspace


what is meant by encapsulation?

Answer Posted / Neeraj Semwal

Encapsulation is a mechanism in Java that binds the data and functions that operate on the data together as a single unit. It hides the internal implementation details from the user, providing a simple and secure interface.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a program to find the whether a number is an Armstrong number or not?

1106


What is parsing in java?

1046


Is minecraft 1.15 out?

1049


explain different ways of using thread? : Java thread

1087


What is an object in java and how is it created?

1146


What are the differences between heap and stack memory in java?

1150


How to sort array in descending order in java?

999


Write a program to print count of empty strings in java 8?

1091


Realized?

2268


Explain public static void main(string args[]) in java.

1082


Differentiate between static and non-static methods in java.

1131


What is a constructor overloading in java?

1130


How to create a base64 decoder in java8?

1144


What is the difference between equals() and == in java?

1046


What is java string pool?

1088