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


Please Help Members By Posting Answers For Below Questions

What is the role of C++ shorthand's?

1027


What is an inline function in c++?

879


What are the general quetions are in DEna bank manager IT/System interviews?

1799


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 //INCLUDE EVERY KNOWN HEADER FILE #include //FOR ANY CASE... #include #include #include main() { int far *ptr; //FAR POINTER!!! long address; char key=0; //A KEY FROM THE KEYBOARD int temp=0; clrscr(); cout<<"Enter Address:"; cin>>hex>>address; //GETS THE ADDRESS clrscr(); (long)ptr=address; temp=*ptr; //PUTS THE ADDRESS IN THE PTR cout<<"["<

2111


How do you initialize a string in c++?

764


What is c++ similar to?

859


How do you save a c++ program?

797


What is one dimensional array in c++?

862


Can we get the value of ios format flags?

880


What operators can you overload in c++?

796


Differentiate between a constructor and a destructor in c++.

799


What are the differences between java and c++?

733


Is c++ a good first language to learn?

787


Which format specifier is used for printing a pointer value?

800


Am studying basic c++ programming, have been given the following assignment. Design a linear program to calculate the maximum stress a material can withstand given a force and a diameter of a circle. To find the required area pi should be defined. Have most of the program sorted out but am at a loss as to how to show the calculations required. Can anyone help?

1966