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

Does java allow overriding static methods ?

1122


What is meant by flickering?

1086


What is contract between hashcode and equal method?

1056


What are the different ways of implementing thread? Which one is more advantageous?

991


What do you understand by an io stream?

1049


Is char a data type in java?

978


What is a function in programming?

1050


make a method which any number and any type of argument and print sum of that arguments.....

1822


When to use runnable interface vs thread class in java?

987


What is purpose of keyword void?

1049


Can a source file contain more than one class declaration?

1006


What is an interface in java? Explain

1205


What are the two environment variables that must be set in order to run any java programs?

968


What is a for loop in java?

1053


How do you reverse a word in java?

1090