Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are stl algorithms?

1214


What is stl in c++ with example?

1215


How does an stl file work?

1221


Describe how to safeguard a system through acquisition of an antivirus Program and systematic backup.

2229


What does stl mean in slang?

1165


Can we use stl in coding interviews?

1867


what is template and type convertion

2489


Who wrote stl?

1186


Is stl open source?

1187


how to use C++?

2610


Write a C/C++ program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the total number of disk writes by MySQL.

2512


How stl is different from the c++ standard library?

1278


Why should a c++ programmer be interested in stl?

1148


Is string part of stl?

1268


How is stl different from c++ standard library?

1392