what's the difference between abstract class and concreate
class? what's the meaning of standard template library(STL)?

Answers were Sorted based on User's Feedback



what's the difference between abstract class and concreate class? what's the meaning of s..

Answer / a.srinivas rao

An abstract class is a class which contains atleast one
abstract method(i.e., an abstract method is one which has
only definition not implementation,which is done in some
other class.
We cannot create an object for Abstract class.
A class is said to be a concrete class if and only if it
contains fully defined methods.Defined methods are also
known has "concrete methods " or "Implemented methods".
We can instantiate an object for concrete class.

Is This Answer Correct ?    72 Yes 4 No

what's the difference between abstract class and concreate class? what's the meaning of s..

Answer / zubeir

First of all, we should understand what is the meaning
of 'abstract' in terms of software. It's the same meaning
as in English, that is, the entities (objects) which do not
exist in the real world are abstract entities. For example,
Dog, Cat, Bear, Deer are all animals that exist but animal
is also an entity which is just a concept and there is no
existance.

So we can define an abstract class for 'Animal'. We can
derive any number of real world animal classes from the
abstract class 'Animal' like Tiger, Lion, Donkey, etc.

Obviously, we can understand now why we cannot create
objects for abstract classes. The answer is we must not,
right?
Because the Animal class has no existance in real world. So
we cannot create a real world entity (nothing but an
object). That is the very reason this concept is followed.
The derived classes that we've seen above are concrete
classes since they are real world objects and have definite
properties and operations on them.

Is This Answer Correct ?    43 Yes 7 No

what's the difference between abstract class and concreate class? what's the meaning of s..

Answer / hkouki

An abstract class is the class that define the interface
without the necessity to implement all the member
functions.

The derived class (from base abstract class) that implement
all the missing functions

Is This Answer Correct ?    39 Yes 10 No

what's the difference between abstract class and concreate class? what's the meaning of s..

Answer / siva rama krishna

the abstract method we can't create object,only create from
derived classes only that means which sub class have no
abstract method.then by using that object only call the
methods.

Is This Answer Correct ?    11 Yes 3 No

what's the difference between abstract class and concreate class? what's the meaning of s..

Answer / jijo o r

An Abstract class is cannot be instantiated.means cannot
make object of this class.It has contains one or more
methods ..but it no implement..

interfaces are same as abstract classes only difference is we
an only define method definition and no implementation.

Is This Answer Correct ?    5 Yes 1 No

what's the difference between abstract class and concreate class? what's the meaning of s..

Answer / bansari

An abstract class is the class that define the interface
without the necessity to implement all the member
functions.

The derived class (from base abstract class) that implement
all the missing functions

Is This Answer Correct ?    6 Yes 5 No

Post New Answer

More STL Interview Questions

method overloading means what?

2 Answers   CTS,


what's the difference between abstract class and concreate class? what's the meaning of standard template library(STL)?

6 Answers  


How connect plc and pc through software

0 Answers  


What is a list in c++ stl?

0 Answers  


#define CUBE(x) (x*x*x) main() { int a,b=3; a=cube(b++); printf("%d %d",a,b); } What should be the value of a and b? My calc a=4 but syst a=6 how pls tell me if you know it?

12 Answers   Wipro,






What is the stl, standard template library?

0 Answers  


c# support late binding or early binding.

6 Answers  


what's the difference between function overloading and function overiding?

5 Answers  


Is stl part of c++ standard?

0 Answers  


a program using one dimensional array that searches a number if it is found on the list of given input numbers given by the user and locate its exact location in the list.

0 Answers  


help me i need a c++ program which takes sequesnce of characters and outputed sequence of their token taypes, work same compiler in lexical analysis phase

0 Answers  


what is the difference between thread and process

1 Answers   Infosys,


Categories