05-02-2011, 06:20 AM
what is the difference between abstract class and concerete class
|
what is the difference between abstract class and concerete class in c++ 2011
|
|
05-02-2011, 06:20 AM
what is the difference between abstract class and concerete class
05-02-2011, 06:21 AM
Abstract classess are those classess whose objects can't be initiated. These classess are used to play the role ob Base Class. Where as Concrete classess are those classess whose objects can be instantiated. For example we have two classess Shape and Triangle. As you know there is inheritance relationship between these two classess. Triangle is the derived class of Shape. Also, you know Shape is an abstract class whose purpose here is to provide Inheritance relationship.No need to have objects for this class, so we declare this class as an Abstract class, it means its objects can't be instantiated.
0300-9520262 Get solution in 24 hour |cpmputer & internet mileys81:[SIZE="4"][SIZE="3"]....[/SIZE][/SIZE]
|
|
« Next Oldest | Next Newest »
|