what Data encapsulation in java?

Answers were Sorted based on User's Feedback



what Data encapsulation in java?..

Answer / satyanarayana

Encapsulation means binding the data and code into a single
entity.

Is This Answer Correct ?    20 Yes 2 No

what Data encapsulation in java?..

Answer / ddd

grouping of data in a class.such methods varibles etc

Is This Answer Correct ?    10 Yes 3 No

what Data encapsulation in java?..

Answer / swapna kumari arava

Wrapping up of the data members and member functions into a
classs is nothing but encapsulation.

Is This Answer Correct ?    7 Yes 2 No

what Data encapsulation in java?..

Answer / sanjay

designing comprises of code and data.Data is enclosed with
memory wheras code is enclosed with functions.
Thus Data encapsulation is encapsulating the Data to Code
to perform certain functions.
Also Data encapsultion is required for hiding the actual
functios of the objects

Is This Answer Correct ?    4 Yes 3 No

what Data encapsulation in java?..

Answer / sudheer nath

data encapsulation means the data member and the member function can remains inside the class ,only those member function which is the part of the class can only access thw data member of a class .tise is used for security purpuse .

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More Core Java Interview Questions

did interface can implementation method ? i know its not possible but my interviewer said its possible ..but how..? any one have idea ???

7 Answers   IBM,


I want to print “hello” even before main is executed. How will you acheive that?

0 Answers  


Can we have any other return type than void for main method?

0 Answers  


what is polymorphism?

5 Answers   Zensar,


why string constant pool in java

2 Answers   TCS,


Explain naming conventions for packages?

0 Answers  


What is the protected method modifier?

0 Answers  


When is update method called?

0 Answers  


What are the steps that are followed when two computers connect through tcp?

0 Answers  


How can an exception be thrown manually by a programmer?

0 Answers  


What is an object in Java and what are its benefits?

4 Answers   IBM,


Is java still necessary?

0 Answers  


Categories