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 blocking method in Java?

1160


Java is Pass by Value or Pass by Reference?

1014


What are the differences between processes and threads?

1014


can used Protected Class outside Function.?

1068


Is char * a string?

951


What is prefix of a string?

991


What are keywords in programming?

968


What are the types of exceptions?

1009


How do you remove duplicates in java?

971


Which is better stringbuffer or stringbuilder?

881


What are the actions that can occur when a thread enters blocked state?

1022


What language is pass by reference?

985


What is the use of hashmap in java?

1036


String class is defined under which package in java?

1034


What is difference between path and classpath?

1100