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 the abstraction?

1020


Can a static method be final?

1060


What is the implementation of destroy method in java. Is it native or java code?

967


What is java life cycle?

1006


What are alternatives to java serialization?

1127


I don’t want my class to be inherited by any other class. What should I do?

1015


How is hashcode calculated in java?

1038


What is the purpose of format function?

1181


What is the generic function?

987


Why does java have two ways to create child threads? Which way is better?

1051


What is incompatible types in java?

1040


Is java developer a good career?

1025


Are primitives objects?

1060


How do you override a private method in java?

983


How will you print number in reverse (descending) order in BST.

982