explain oops concepts with examples?
Answer Posted / j
Encapsulation is the procedure of covering up of data and
functions into a single unit. Encapsulation (also
information hiding) consists of separating the external
aspects of an object which are accessible to other objects,
from the internal implementation details of the object,
which are hidden from other objects.
A process, encapsulation means the act of enclosing one or
more items within a (physical or logical) container (Class)
| Is This Answer Correct ? | 79 Yes | 38 No |
Post New Answer View All Answers
Does anyone still use java?
Explain about data types?
What is jvm? Why is java called the platform independent programming language?
Why to use nested classes in java? (Or) what is the purpose of nested class in java?
What is an immutable object? How do you create one in java?
How do I remove a character from a string in java?
What is nan in java?
What is the maximum size of byte array in java?
What are the different ways of creating thread?
What is the main function in java?
How does arraylist size increase in java?
Where can I find jdk in my computer?
What is the difference between dom and sax parser in java?
What is the use of parse function in java?
Outline the major features of java.