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

Is it possible to override the main method?

981


When do you call copy constructor?

978


Can we have multiple public classes in a java source file?

1193


What is use of map in java?

1013


What does system.gc() and runtime.gc() methods do?

1053


What is the final access modifier in java?

1079


Is ++ operator is thread safe in java?

961


Difference between nested and inner classes ?

1133


What is nan inf?

1084


What is meant by string is immutable?

1084


Can we use catch statement for checked exceptions when there is no chance of raising exception in our code?

1035


What is type parameter in java?

959


What is equlas() and hashcode() contract in java? Where does it used?

1134


How to disable caching on back button of the browser?

1085


What is the escape character in java?

994