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 / krishna

First of all that I would like to tell u that there is no keyword like virtual in Java. and all the guys are saying that all methods are virtual in Java. But it is not true.
While we try to override private methods then it is not override. this shows all the methods are not virtual in Java.

Is This Answer Correct ?    5 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a treemap in java?

1011


What does arrays sort do in java?

1017


Can sleep() method causes another thread to sleep?

1042


What is java basic concept?

1038


How many bits is a 64 bit byte?

1083


What is the file extension for java?

1074


Explain the importance of throwable class and its methods?

1040


What does singleton class mean?

975


Difference between notify() method and notifyall() method in java?

970


What is api data?

1000


Why we override equals() method?

1039


How to convert string to byte array and vice versa?

1088


Define how destructors are defined in java?

1027


Is string a data type in java?

1020


What happens if main method is not static?

1000