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
How do you classify Dialog Box?
What are the Class Libraries ?
Is it possible to compare various strings with the help of == operator? What are the risks involved?
What is lambda expression in java?
What is a singleton factory?
How do you square a number?
What is super keyword explain with example?
What is static class
What are heap memory and stack memory and what are memory tables.
What is the maximum size of hashmap in java?
If an application has multiple classes in it, is it okay to have a main method in more than one class?
What do you mean by local class?
What is the difference between a method and a function in alice?
What is thread pool in java with example?
What is the purpose of tostring() method in java?