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 difference between polymorphism and inheritance?

1100


what type of questions

2142


Why do while loop is used?

1051


Why do we need polymorphism in c#?

1185


What are the 5 oop principles?

1140


What is and I oop mean?

1223


write a code for this:trailer recordId contains a value other than 99, then the file must error with the reason ‘Invalid RECORD_ID’(User Defined Exception).

2172


Why is polymorphism used?

1058


What is new keyword in oops?

1057


How to hide the base class functionality in Inheritance?

1154


What is purpose of inheritance?

1129


What is object in oops?

1083


Which is better struts or spring?

1072


Why do pointers exist?

1110


What is encapsulation in oop?

1073