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

To modify an, existing worksheet. What steps are involved for: 1. Inserting and deleting rows and columns. 2. Printing cell formulas 3Jld displayed values 3. Using the page setup command

1757


sir please send me bpcl previous question papers

1932


What is a stl vector?

604


Can we use stl in coding interviews?

1248


In what scenario does the Logical file and Physical file being used?

2292






Do you like to Submit Questions in Bulk under Same Category?? Then use our Bulk ListerDo you like to Submit Questions in Bulk under Same Category?? Then use our Bulk Lister

1635


How do you convert stl to steps?

608


i wanted to know about questions about c,c++ , which is required for placements.... im a fresher

1675


please visit this site you'll find my question this is my homework please answer it if you can http://easyscience.org/ib/lofiversion/index.php/t36168.html

1754


What is stl stand for?

717


Is string part of stl?

654


Name the different types of stl containers.

670


Is stl open source?

619


how to use C++?

2031


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.

1953