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
how to one war file class to another war file class?
How do I stop concurrentmodificationexception?
What is the use of runnable interface?
How are variables stored in memory?
How many types of constructors are used in java?
What is struts in java?
Explain the difference between treeset and treemap in java?
Which is a valid identifier?
What is method overloading in JAVA? Why is it not present in C ?
How do you check if a string is lexicographically in java?
What is string intern in java?
Explain about serializable interface in java?
What is the difference between Java and C++?
Can an abstract class be a final class?
What is local declaration?