What is encapsulation?

Answer Posted / saamy

Data Encapsulation combines data and functions into a
single unit called Class. When using Data Encapsulation,
data is not accessed directly; it is only accessible
through the functions present inside the class. Data
Encapsulation enables the important concept of data hiding
possible.

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What polymorphism means?

620


Why is abstraction needed?

565


What is a class and object?

595


What is interface in oop?

660


Do you know about multiple inheritance?

637






what are the realtime excercises in C++?

2333


What is abstraction in oop with example?

642


What is the difference between procedural programming and oops?

550


design a c++ class for the chess board,provide a c++ class definition for such class(only class definition is required)

6145


What is coupling in oop?

595


What type of loop is a for loop?

682


Why do we use class?

633


What is polymorphism what are the different types of polymorphism?

563


What is meant by oops concept?

609


What does no cap mean?

590