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 do you mean by exception handling?
Write a program for the problem: the array of inetegers indicating the marks of the students is given, U have to calculate the percentile of the students aaccording to this rule: the percentile of a student is the %of no of student having marks less then him. For eg: suppose Student Marks A 12 B 60 C 80 D 71 E 30 F 45 percentile of C = 5/5 *100 = 100 (out of 5 students 5 are having marks less then him) percentile of B = 3/5*100 = 60% (out of 5, 3 have markses less then him) percentile of A = 0/5*100 = 0%.
What can open a jar file?
What is loose coupling in java?
Can the main method be overloaded?
What happens when you omit a brace or misspell one of the words, like public or
Which version of my browser should I use? : java security
Define network programming?
How do javabeans work?
What is entitymanager in jpa?
What is web container in java?
What is javax annotation generated?
How do you find lambda?
In system.out.println(), what is system, out and println?
What is a jvm?