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
What is a constructor, constructor overloading in java?
What are new features introduced with java 8 ?
What is module in oop?
How many times finalize method will be invoked? Who invokes finalize() method in java?
What is oop in java?
how to run ecllipse with jettyserver for windows environment using batch file
What is the use of static methods?
How to use arraylist in java netbeans?
Is string is a keyword in java?
What does yield method of the thread class do?
What is meant by data hiding/encapsulation?
What is loop in java?
Is it possible to write a regular expression to check if string is a number?
What are thread priorities and importance of thread priorities in java?
Explain different ways of creating a thread. Which one would you prefer and why?