what is data Abstraction? and give example
Answer Posted / kishore kumar
data abstraction is a process of representing the essential
features without including implementation details.
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What is the copy-and-swap idiom?
What are c++ templates used for?
A company pays its salespeople on a commission basis. The salespeople receive $200 per week plus 9 percent of their gross sales for that week. For example, a saleperson who sells $5000 worth of merchandise in a week receives $200 plus 9 percent of $5000, or a total of $650. You have been supplied with a list of items sold by each salesperson. The values of these items are as follows: Item Value A 239.99 B 129.75 C 99.95 D 350.89 Write a program that inputs one salesperson's items sold in a week (how many of item A? of item B? etc.) and calculates and displays that salesperson's earnings for that week.
Explain virtual class?
Are c and c++ similar?
Why ctype h is used in c++?
Explain the use of vtable.
What are namespaces in c++?
How do you show the declaration of a virtual constructor?
What is struct c++?
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 Difference between Abstraction and encapsulation in C++? What is the use of class in c++? Can I learn c++ without learning c? explain the reference variable in c++?