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


what is an virtual function

Answers were Sorted based on User's Feedback



what is an virtual function..

Answer / ejp

There are no virtual functions in Java so the question is
futile. There are non-final functions, which can be
overridden by a derived class.

Is This Answer Correct ?    2 Yes 0 No

what is an virtual function..

Answer / nishi tomar

A virtual function is a member function of a class, whose
functionality can be over-ridden in its derived classes. It
is one that is declared as virtual in the base class using
the virtual keyword. The virtual nature is inherited in the
subsequent derived classes and the virtual keyword need not
be re-stated there. The whole function body can be replaced
with a new set of implementation in the derived class.

Is This Answer Correct ?    3 Yes 5 No

Post New Answer

More Core Java Interview Questions

What is string subsequence method?

0 Answers  


What is thread safe in java?

0 Answers  


I have an HashMap object, which has with key and value pair. It has 10 keys and values in that object. Now the question is I want insert new key and value in middle or any where in that list but not at the end or at the top. Is it possible or not. If yes how can we achieve this one?

2 Answers   Huawei,


What is a singleton class in Java?

0 Answers  


How to set the permissions to a file in java?

0 Answers  


What is static class

0 Answers   EDS,


What is difference between compatible and incompatible changes in serialization?

1 Answers   Synechron,


What is meant by binding in rmi?

0 Answers  


Can we make constructors static?

0 Answers  


what is overloading and overriding with example?

2 Answers   CMC,


What is the difference between a public and a non-public class?

2 Answers  


Difference between method overloading and method overriding in java ?

0 Answers  


Categories