what is the definition of incapsulation

Answer Posted / dipraj shahane

Encapsulation is binding code and data together. In Class we
are binding data (member variable) to code (member function).
Class is implementing encapsulation feature.

Is This Answer Correct ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why do we use class in oops?

565


What does enum stand for?

622


Why is destructor used?

589


Can destructor be overloaded?

605


What is object in oops?

621






What is the difference between inheritance and polymorphism?

599


How long to learn object oriented programming?

580


what type of questions

1701


What is abstract class in oop?

542


What is constructor overloading in oop?

618


What is an example of genetic polymorphism?

657


when to use 'mutable' keyword and when to use 'const cast' in c++

1653


Can static class have constructor?

595


What are benefits of oop?

652


Prepare me a program for the animation of train

2012