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?



diff between Virtual mathod and abstract method?..

Answer / 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

More OOPS Interview Questions

WHAT IS THE DIFFERENCE BETWEEN ABSTRUCTION AND ENCAPSULATION? PLEASE EXPLAIN IT.

7 Answers   ETH,


There are 2 classes defined as below public class A { class B b; } public class B { class A a; } compiler gives error. How to fix it?

3 Answers   Microsoft,


how can we design a magic square in c++?or suggest me the basic idea of it.

3 Answers  


What is ambiguity in inheritance?

0 Answers  


What is polymorphism in oops with example?

0 Answers  


how to create thread in java?

17 Answers   IBM, Infosys, Wipro,


Write an operator overloading program to write S3+=S2.

2 Answers  


Why is polymorphism needed?

0 Answers  


Out of 4 concepts, which 3 C++ Follow?

1 Answers   TCS,


What is the difference between a mixin and inheritance?

0 Answers  


What is the expansion of OOPS?

24 Answers   TCS,


What is namespace?

15 Answers  


Categories