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

diff between Virtual mathod and abstract method?

Answer Posted / pawan kumar

Virtual methods have an implementation and provide the derived classes with the option of overriding it. Abstract methods do not provide an implementation and force the derived classes to override the method. So, abstract methods have no actual code in them, and subclasses HAVE TO override the method.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is constructor overloading in oop?

1145


Why is oop better than procedural?

1091


What is encapsulation process?

1058


What is class in oop with example?

1108


Why do we use polymorphism in oops?

1059


What is encapsulation in oops?

1022


What are constructors in oop?

1200


What is use of overloading?

1151


What does <> mean pseudocode?

1201


Why do we use polymorphism?

1091


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

2162


• What are the desirable attributes for memory managment?

2236


Give two or more real cenario of virtual function and vertual object

2329


Is html an oop?

1082


Why do we use inheritance?

1140