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
What is stream and its types in c++?
Difference between struct and class in terms of access modifier.
Can a program run without main in c++?
Function can be overloaded based on the parameter which is a value or a reference. Explain if the statement is true.
Can we use clrscr in c++?
What is the function of I/O library in C++ ?
What is c++ code?
Is it possible to have a recursive inline function in c++?
What methods can be overridden in java?
Show the declaration for a pointer to function returning long and taking an integer parameter.
What is time h in c++?
What is string in c++ programming?
Will c++ be replaced?
What is a far pointer? where we use it?
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