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


Please Help Members By Posting Answers For Below Questions

What is the difference between break and continue statements?

551


How does multithreading take place on a computer with a single cpu?

551


What is oop in java?

533


What is split return?

495


What is the difference between equals() and?

591






Is there a case when finally will not execute?

569


Name component subclasses that support painting in java programming?

642


What are extraneous variables examples?

533


What is method overriding in java ?

668


What is polymorphism java example?

552


Why we used break and continue statement in java?

567


Can finally block be used without a catch?

548


Which class is used by server applications to obtain a port and listen for client requests?

500


What is the final blank variable?

596


If goto and const is reserve words than why it is not work in java?

1510