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...

why java does compile time polymorphism at run time ?

Answer Posted / sarath

polymorphism can sub divided into two
1) Static Binding or Compile Time Checking
2) Dynamic Binding or Rum time Checking

Static Binding: method Overloading is the example.
The checking and assign process is done at
compile time itself. If any error occur it
will throw

Dynamic Binding: I have an Interface called Bicycle and it
is implemented in some sub classes
( like MRF.class ). We can create Object
like Bicycle bicycle = new MRF();

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the purpose of checked and unchecked exceptions in JAVA?

954


In java, how many ways you can take input from the console?

924


Why parsing is done?

909


What is an infinite loop in java? Explain with an example.

972


How many JVMs can run on a single machine and what is the meaning of Just-In-Time (JIT) compiler?

1335


How do you replace all in word?

984


What language is an assembler written in?

939


What is the difference between @before and @beforeclass annotation?

1010


What are synchronized blocks in java?

1055


What happens to the Exception object after handling an exception?

2321


What is pangram in java?

958


What do you mean by inner class in java?

1007


What do you know about the garbate collector?

975


What does the string method compareto () do?

1006


Is age a discrete variable?

915