Answer Posted / hrpynux@gmail.com
Data abstraction is one of the most essential and important feature of object oriented programming in C++. Abstraction means displaying only essential information and hiding the details. A Class can decide which data member will be visible to outside world and which is not.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the difference between the compiler and the preprocessor?
Can you overload the operator+ for short integers?
What is iomanip c++?
What is the average salary of a c++ programmer?
how can i access a direct (absolute, not the offset) memory
address?
here is what i tried:
wrote a program that ask's for an address from the user,
creates a FAR pointer to that adress and shows it. then the
user can increment/decrement the value in that address by
pressing p(inc+) and m(dec-).
NOW, i compiled that program and opened it twice (in 2
different windows) and gave twice the same address to it.
now look what happen - if i change the value in
one "window" of the program, it DOES NOT change in the
other! even if they point to the same address in the memory!
here is the code snippet:
//------------------------------------------------------
#include How many types of comments are there in c++? What are the restrictions apply to constructors and destructors? What is the main purpose of c++? What are the classes in c++? Explain the virtual inheritance in c++. What are different types of loops in c++? What is c++ in english? Why are pointers used? What is data abstraction? How is it different from data encapsulation? What is scope in c++ with example?