what is data Abstraction? and give example

Answer Posted / yash modi

Data Abstraction means hide internal processing from user of outside world.He can See Only Visually see or do input-output but not know how operation is done .

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is stream and its types in c++?

771


Difference between struct and class in terms of access modifier.

955


Can a program run without main in c++?

823


Function can be overloaded based on the parameter which is a value or a reference. Explain if the statement is true.

867


Can we use clrscr in c++?

820


What is the function of I/O library in C++ ?

882


What is c++ code?

824


Is it possible to have a recursive inline function in c++?

766


What methods can be overridden in java?

932


Show the declaration for a pointer to function returning long and taking an integer parameter.

792


What is time h in c++?

863


What is string in c++ programming?

856


Will c++ be replaced?

818


What is a far pointer? where we use it?

814


Write a program which is required to process the time of a clock in hours and minutes, entered from the keyboard. With this program, there are two requirements for any data entered by a user: 1. The data must be of the correct type (in this case, two ints). 2. The data must be in the correct range: this means that, for the minutes, negative numbers and any number above 59 must be rejected; for the hours, negative numbers and any number above 23 must be rejected. Output error message for invalid data input. Output the time one and a half hour after the time input. i.e. Hour: 22 Min: 32 One and a half hour after 22:32 is 00:02

1711