what is data Abstraction? and give example
Answers were Sorted based on User's Feedback
Answer / chandan jana
The main idea behind data abstraction is to give a clear
separation between properties of data type and the
associated implementation details. This separation is
achieved in order that the properties of the abstract data
type are visible to the user interface and the
implementation details are hidden. Thus, abstraction forms
the basic platform for the creation of user-defined data
types called objects. Data abstraction is the process of
refining data to its essential form.
In object-oriented programming language C++, it is possible
to create and provide an interface that accesses only
certain elements of data types. The programmer can decide
which user to give or grant access to and hide the other
details. This concept is called data hiding which is similar
in concept to data abstraction.
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / soumitra
It is the process pf showing the essential features of
class by hiding the background details.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / gnanamoorthi s
The data abstraction refers to the basic important thinks is
not a detailed version or implementation.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / sam
to show only the necessary information but hiding all
implementing details
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / amit joshi
Abstraction refers to the act of representing essential features without including background details and explanations.
| Is This Answer Correct ? | 4 Yes | 2 No |
Answer / romeo
This is a DBMS mechanism,
whereby, the implementation/
background details are hidden
from the end users.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / parvathi
Data Abstraction increases the power of programming language
by creating user defined data types. Data Abstraction also
represents the needed information in the program without
presenting the details.
| Is This Answer Correct ? | 2 Yes | 1 No |
Answer / sumathi
Data Abstraction is the act of representing the essential
features of an object without including the background
details.
| Is This Answer Correct ? | 2 Yes | 1 No |
Answer / babu
data abstraction is nothing but a special mechanism
is used to create user define data types with the help
of classes.
ex:
class student
{
student name;
student id;
student password;
}
| Is This Answer Correct ? | 2 Yes | 1 No |
Why null pointer is used?
A prime number is a number which is divisible only by itself and 1. Examples of the first few primes are 2, 3, 5, 7, 11. Consider writing a program which can generate prime numbers for you. Your program should read in and set a maximum prime to generate and a minimum number to start with when looking for primes. This program should be able to perform the following tasks: 1. Read the maximum number from user (keyboard input) to look for primes. The program should not return any primes greater than this number. 2. Read the minimum number from user (keyboard input) to look for primes. The program should not return any primes less than this number. 3. Generate and print out every prime number between the maximum prime and minimum number specified by the user.
Is turbo c++ free?
Explain bubble sorting.
Which of the following operator cannot be overloaded?
In a function declaration, what does extern mean?
What is c++ good for?
How do you declare A pointer to function which receives an int pointer and returns a float pointer
Is c++ the most powerful language?
What is the arrow operator in c++?
print first nodd numbers in descending order
How to write a program such that it will delete itself after exectution?