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 are three ways in which a thread can enter the waiting state in java programming?
Can you explain inner class.
What is passed by reference and pass by value ?
What is the purpose of encapsulation?
What is bool mean?
Is binary a low level language?
What are reference variables in java?
Write a java program to count the number of words present in a string?
What is the purpose of the system class in java programming?
What are the ways to instantiate the class class?
Which class is the superclass for every class in java programming?
Write a program to solve producer consumer problem in java?
Can a java program have 2 main methods?
How does arrays sort work in java?
Where are variables stored?