Answer Posted / 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 |
Post New Answer View All Answers
why not override thread to make a runnable? : Java thread
Can we have return statement in finally clause? What will happen?
What is the difference between jdk and jre?
How do you use spaces in java?
What is not object oriented programming?
Do you know why doesn't the java library use a randomized version of quicksort?
Say any two properties in beans?
What is the default value of local and global variables?
Explain the init method?
Can an interface be defined inside a class?
How do you input a string in java?
What is string example?
Is space a char?
What is a method vs function?
Is ruby built on java?