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 the different types of functions?
Explain about the interpreter in java?
In java, how many ways you can take input from the console?
What is difference between fileinputstream and filereader in java?
Why java is used everywhere?
What languages are pass by reference?
which one is more efficient int x; 1. if(x==null) 2.if(null==x) state which one either 1 or 2?
Why isn’t there operator overloading?
What does it mean that strings are immutable?
Why is inheritance used in java?
How do you create a null object?
os is developed in c no java is more secured then c na why dont the os developed is developed using java
Are variables stored in ram?
What is the difference between exception and error in java?
Is call by reference possible in java?