what Data encapsulation in java?
Answers were Sorted based on User's Feedback
Answer / satyanarayana
Encapsulation means binding the data and code into a single
entity.
| Is This Answer Correct ? | 20 Yes | 2 No |
Answer / ddd
grouping of data in a class.such methods varibles etc
| Is This Answer Correct ? | 10 Yes | 3 No |
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 |
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 |
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 |
What are the 4 types of characters?
Explain about instanceof operator in java?
Hi.... I applied for the post of scientific officer/Engineer-SB(Programmer).Please post the syllabus and sample papers.
How do you use final keywords and final variables in Java?
How is garbage collection controlled?
What occurs when an object is constructed?
public class Test { public static void main(String ar[]) { Integer a = 10; Integer b =10; Integer c = 145; Integer d = 145; System.out.println(a==b); System.out.println(c==d); } }
Can an object be garbage collected while it is still reachable?
What is the maximum size of hashmap in java?
What are the legal parameters?
How multi processing is achieved in JAVA?
What is a char in java?