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...

why we are declare the function in the abstract class even
though we are declaring it in Derived class?

Answer Posted / vishal

Abstract class is nothing but placeholder for other classes
ie subclass.It defines common shared behavior in abstract
classes and if we need to override we need to define in its
subclass else we can use shared behavior in base class.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is abstraction in oop with example?

1060


if i have same function with same number of argument but defined in different files. Now i am adding these two files in a third file and calling this function . which will get called and wht decide the precedence?

3407


How do you define social class?

1011


Explain the advantages of inheritance.

1073


What is byval and byref? What are differences between them?

2149


What is destructor oops?

1032


What is the purpose of enum?

962


What is object in oop?

1060


Why do we use class in oops?

914


• What are the desirable attributes for memory managment?

2165


What is polymorphism and why is it important?

981


Where is pseudocode used?

1028


What is pointer in oop?

968


What is polymorphism programming?

1068


when to use 'mutable' keyword and when to use 'const cast' in c++

2109