what is data Abstraction? and give example
Answers were Sorted based on User's Feedback
Answer / gurpreet kaur sandhu
Abstruction to the act of the representing the essential
features without internal structure of objects & variables.
In object oriented programming users are just aware of
objects ,function and their purpose.they are not aware of
the internal structure and working of the function and
objects.
THE PHENOMENA OF HIDING THE ACCESS TO INTERNAL VARIABLE
FROM THE USER AND ONLY PROVIDING THE ACCESS TO FUNCTION IS
CALLED "Abstruction".
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / aniruddha kalburgi.
Data Abstraction is the way of hiding the unessential data
to reduce the complexity in front of user of a computer. The
programmer can decide what the data to be hided or what part
is essential to shown to user...
Is This Answer Correct ? | 1 Yes | 1 No |
Answer / shruthi
Data abstraction enforces a clear separation between the
abstract properties of a data type and the concrete details
of its implementation. The abstract properties are those
that are visible to client code that makes use of the data
type—the interface to the data type—while the concrete
implementation is kept entirely private, and indeed can
change, for example to incorporate efficiency improvements
over time. The idea is that such changes are not supposed to
have any impact on client code, since they involve no
difference in the abstract behaviour.
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / maddy
Data Encapsulation is the process of combining data and
functions into a single unit called class. By this method
one cannot access the data directly. Data is accessible
only through the functions present inside the class. Thus
Data Encapsulation gave rise to the important concept of
data hiding.
Example:
public class class1
{
void role1();
void role3();
}
class1 c=new class1();
c.role1();
c.role3();
---
dotnetpages.blogspot.com
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / hameed
It refers to the act of representing essential features
without including their background details or explanations.
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / suraj
data abstraction is the way of hiding complexity related
with data from end users
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / abhishek
data abstraction is a process of idenification the
impleaction without the
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / joseph malaba
ome of the features of C++ allow low-level access to memory
but also contain high level features,explain
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / nitin
Abstraction is generalizing characteristics of objects that belong to same family....
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / arumugaselvam
Class is not consider about the function inside of the coding through proof the data hiding
Is This Answer Correct ? | 0 Yes | 0 No |
Name the operators that cannot be overloaded in C++?
What is the function to call to turn an ascii string into a long?
What is virtual destructor ans explain its use?
Describe the advantage of an external iterator.
What is std::move?
What are stacks? Give an example where they are useful.
Is c++ platform dependent?
Given an array of size N in which every number is between 1 and N, determine if there are any duplicates in it. You are allowed to destroy the array if you like. [ I ended up giving about 4 or 5 different solutions for this, each supposedly better than the others ].
What is a local reference?
What is functions syntax in c++?
What is scope of a variable? (LOLZ)
Can recursive program be written in C++?