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 are the 4 pillars of oop?

1204


What is coupling in oop?

1084


What is abstraction in oops with example?

1351


What do you mean by Encapsulation?

1137


What is class in oop with example?

1158


What is Difference Between Inheritance and creating object and getting data? means Class A extends B{ B.getMethod();} (OR) Class A{ b obj=new B(); obj.getMethod(); }

2696


How to hide the base class functionality in Inheritance?

1187


How does polymorphism work?

1186


What are benefits of oop?

1196


What is the difference between abstraction and polymorphism?

1155


Can a varargs method be overloaded?

1155


What is data binding in oops?

1150


What is the renewal class?

2823


What is the significance of classes in oop?

1232


What is inheritance write a program to show use of inheritance?

1202