ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   To Refer this Site to Your Friends   Click Here
Google
 
Categories  >>  Software  >>  Programming Languages  >>  C++  >>  C++ General
 
 


 

 
 STL interview questions  STL Interview Questions
 OOPS interview questions  OOPS Interview Questions
 C++ General interview questions  C++ General Interview Questions
Question
How is an Abstract Base Class(ABC) related to an "Abstract
Data Type" (ADT)
 Question Submitted By :: Guest
I also faced this Question!!     Rank Answer Posted By  
 
  Re: How is an Abstract Base Class(ABC) related to an "Abstract Data Type" (ADT)
Answer
# 1
An ADT is a concept - the basic idea of a data type that
doesn't specify how the data type is implemented. 

An ABC is a method C++ provides for creating an ADT.
 
Is This Answer Correct ?    0 Yes 0 No
Guest
 
  Re: How is an Abstract Base Class(ABC) related to an "Abstract Data Type" (ADT)
Answer
# 2
An ADT is a concept. I agree with that. basic example a
class itself.

But Abstract Base Class is something which has a pure
virtual function in that. That means, u cannot create an
objext of this class. But what is possible is, this class
can be inherited and u can have a pointer of this class and
have runtime polimorphism.

In simple terms, all classes that contain at least one pure
virtual function are abstract base classes.
 
Is This Answer Correct ?    0 Yes 0 No
Sujith
 
 
 

 
 
 
Other C++ General Interview Questions
 
  Question Asked @ Answers
 
What is your strongest programming language (Java, ASP, C, C++, VB, HTML,C#, etc.)? Microsoft20
What are the different types of Storage classes?  3
what is importance of data sturture in a programming language? L&T10
What is the difference between method and message? HP2
Difference between delete and delete[]? TCS3
What is Memory Alignment? TCS1
Explain the need for "Virtual Destructor"? Infosys1
Which one of the following describes characteristics of "protected" inheritance? a) The base class has access only to the public or protected members of the derived class. b) The derived class has non-public, inheritable, access to all but the private members of the base class. c) The derived class has access to all members of the base class. d) The private members of the base class are visible within the derived class. e) Public members of the derived class are privately accessible from the base class. Quark3
How to avoid changing constant values? Symphony1
Brief explaination about #include<iostream.h>, cin and cout  3
What are advantages and disadvantages of Design patterns? IBM3
What is Namespace? Samsung1
When copy constructor can be used? Symphony4
What compiler was used? Intel3
Explain the difference between 'operator new' and the 'new' operator? Lucent1
write the prime no program in c++?  4
Why is it difficult to store linked list in an array? Lucent2
Difference between Overloading and Overriding? HP4
Shall we use 'free' to free memory assigned by new, What are the further consequences?? Symphony4
implement stack using stack.h headerfile functions Subex1
 
For more C++ General Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com