Define encapsulation?, C/C++ Programming

A:  it is containing and hiding Information regarding an object, like internal data structures and code. It isolates the internal complication of an object's operation from the rest of application. For instance, a client component asking for net revenue through a business object require not know the data's origin.

 

Posted Date: 3/16/2013 2:58:05 AM | Location : United States







Related Discussions:- Define encapsulation?, Assignment Help, Ask Question on Define encapsulation?, Get Answer, Expert's Help, Define encapsulation? Discussions

Write discussion on Define encapsulation?
Your posts are moderated
Related Questions
Overloading Binary Operators class SI {float i,p,n,r,a; public: SI(){}; SI(int gp,int gn, int gr); void putdata(void); SI operator+(SI); }; SI SI::opera

How would I use variables of a C++ object within a Lua function, and then call the Lua function from C++ code?

Explain procedural logic A procedure, or function, was explained as a set of specific instructions implemented in sequential manner. The data is kept separate from the procedur

Damjibhai and Shamjibhai are two jeweler friends. They decide to play a simple game. The game comprises of removing the jewels for polishing, turn by turn. Once a jewel is removed

Literals (Constants) Constants are data storage locations whose address is not accessible for the user. Their value is not altered during the course of the program. Literal

/*  THIS PROGRAM IS TO ASK USER TO INPUT TWO DATE & PRODUCE A NEW DATE  */ #include #include struct date  {   int dd;   int yy;   int mm;  }; date add(date d1,date d2)    {

Control structures The control structures appear in both structured programming languages as well as object oriented programming languages.  The three constructs used are: i)

Write a program to get the largest element in an array using Function? # include int largest(int b[],int); main() { int lar,a[5]={12,2,36,40,5}; lar=largest(a,n); printf("

PROCEDUAL PROGRAMMING INTRODUCTION

A: Use operator overloading to present a friend right-shift operator, operator>>. It is similar to the output operator, except the parameter doesn't contain a const: "Fred&" instea