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

What will happen if non-synchronized method calls a static synchronized method and what kind of lock it acquires?

1019


Write a program to reverse a number in java?

1053


What are the differences between string, stringbuffer and stringbuilder?

977


How can we make sure main() is the last thread to finish in java program?

1153


What are the skills required for core java?

957


Which methods cannot be overridden in java?

932


What are format specifiers in java?

1004


Tell me about different OOPS concepts.

960


Explain notify() method of object class ?

1042


What is purpose of find feature?

1037


Difference between Linked list and Queue?

985


Are arrays dynamic in java?

988


What is a finally block? Is there a case when finally will not execute?

1007


What is meant by method overriding?

1048


What is a nonetype?

1061