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

can we have virtual functions in java?

Answer Posted / rakesh kumar jha

In java all method use dynamic method lookup and therefore
are be default virtual. so there is no way to explicity
call an overriden base class method, but overwriting can be
prevented by declare a method final.

Is This Answer Correct ?    29 Yes 12 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a class in java?

964


What data structures are used to perform recursion?

994


Can we use different return types for methods when overridden?

942


What are the differences between abstract class and interface?

990


What is stringwriter?

904


What is null mean in java?

1032


What is command line used for?

1051


Difference between keyword and identifier.

975


What is an empty class? What functionality does it offer in Java?

1204


What is the difference between dom and sax parser in java?

924


What is difference between char array and string?

1052


When throws keyword is used?

947


What is thread safe singleton?

898


Is it possible to instantiate the abstract class?

913


Can we overload the methods by making them static?

947