WHAT IS ABSTRUCT DATA TYPE ?
PLEASE EXPLAIN IT.
Answers were Sorted based on User's Feedback
Answer / purush
A unique datatype, that is defined by the progrmer.It may
refer to an object class in OOP or to a special data type in
traditional,non-OOP languages.
ADT is a specification of a set of data and the set of
operations that can be performed on the data.This supports
the principle of INFORMATION HIDING.
| Is This Answer Correct ? | 18 Yes | 3 No |
Answer / guest
data abstraction
abstract the data called the background details for ex
[size,weight,cost]
encapsulation
security the data
| Is This Answer Correct ? | 2 Yes | 1 No |
Answer / prasad.m.y
Abstraction is nothng but datahiding and encapsulation is wrapping up of data into a single unit.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / harsh.chiks
ADT is a set of data values and operations which are
independent of it's implementations.
the best examples of ADT are STACKS,QUEUES...
| Is This Answer Correct ? | 0 Yes | 0 No |
for example A,B,C,D are class all the 4 class contain one method who() but the method who() implementaion is differnet among each class. the relation among the 4 class are A is base class and is inherited by B and C.and from this two B and C where D is inherited. the question is i want to display the output who() method in all the classes(A,B,C,D)the output of who() method is diferrent amond all the class(A,B,C,D) ------A------ virtuval who(print a) override | | who(print b) B C override who(print c) | | -------D------ override who(print d)
how to tackle technical questions
State what is encapsulation and friend function?
What is polymorphism give a real life example?
Can we have inheritance without polymorphism?
What is the benefit of oop?
What is the important feature of inheritance?
What is super in oop?
What is object and example?
What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?
What do we mean by a hidden argument in a function?
What is polymorphism what is it for and how is it used?