what is meant by Encapsulation?Explain with an example?
Answer Posted / sanjay deorari
Containing and hiding information about an object, such as
internal data structures and code.
Binding together of related data and functions to
perform some set of specific operations is encapsulation.
| Is This Answer Correct ? | 4 Yes | 2 No |
Post New Answer View All Answers
What is a yaml file in java?
What is the use of flatmap?
Is lambda functional programming?
when i send the request to the JSP page it will print as it is and why? and how to solve this problem please inform me that solution
What is a cookie in java?
Write a program for the following topic - switch case,looping using fuction calling,nesting,console input output. Aim- to print a menu:- 1-series 2-single value. Each menu having sub menu armstrong or perfect.
What is native api in java?
What is the difference between java se and java ee?
What is spliterator in java se 8?
If you’re overriding the method equals() of an object, which other method you might also consider?
Which method is used to create the daemon thread?
What is ehcache in java?
What is the resourcebundle class?
I run a web server. Am I at risk? : java security
Why serialization is used in java?