What is meant by Encapsulation? Can you write a class to
explain encapsulation?
Answer Posted / bln
Encapsulation is process binding data with an object.
Object consists data and methods, where methods helps to
extract or set data.
All classes developed using OOPS concepts follow the
encapsulation.
Is This Answer Correct ? | 15 Yes | 4 No |
Post New Answer View All Answers
How are java objects passed to a method and what are native methods?
Is 0 true or false in java?
What is the difference between length and length () in java?
Are maps ordered java?
Explain parallel processing in java8?
How to use arraylist in java netbeans?
Is age discrete or continuous?
What is a package in java? List down various advantages of packages.
which pattern is default in scanner package?
What is the size of an array?
What is private protected in java?
What is difference between this and super keyword?
What is the purpose of using the java bean?
What are the basic interfaces of java collections framework?
What is a list in java?