what is meant by Encapsulation?Explain with an example?
Answer Posted / rekha
ENCAPSULATION MEANS WRAPPING DATA MEMBERS & MEMBER FUNCTION
IN A SINGLE UNIT.EXA:-CLASS
Is This Answer Correct ? | 12 Yes | 1 No |
Post New Answer View All Answers
What is native class in java?
What's the difference between code-based security and role-based security? Which one is better? : java security
What is java web application?
What is web xml java?
What are the advantages of java sockets?
How do I install java on windows?
How do I enable javascript?
What are the new features about Java se 8 ?
Is jar an executable?
What is dao in java?
Explain different way of using thread?
What about 'hostile applets'? : java security
What is javax annotation generated?
Topic- looping,function overloading,nesting ,polymorphism. Aim - to write a function with a name buzz-buds,that will check whether the given numbers are buddies or not on the basis of no. of parameters passed during function calling.
What is the use of servlet in java?