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 / bindhu solomon

In java, all methods are virtual functions by default. So
we can override a method in any subclasses .

Is This Answer Correct ?    123 Yes 24 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

When do you get classcastexception?

1023


what is the swingutilities.invokelater(runnable) method for? : Java thread

1032


Which arithmetic operations can result in the throwing of an arithmeticexception?

1009


Can we call a non-static method from inside a static method?

989


What is broken and continue statement?

986


Explain the protected field modifier?

1072


What does java stand for?

1108


What is math in java?

1053


What is variable and its types?

1007


Does variable declaration allocate memory?

1022


What is binary tree in java?

1046


Is it possible to cast an int value into a byte variable? What would happen if the value of int is larger than byte?

945


Do I need java for windows 10?

1033


What is the purpose of a transient variable?

1045


How do you use parseint in java?

973