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

Which is better list or arraylist in java?

865


What is stack explain?

987


Does constructor be static?

1027


what is singleton in java?

1039


What is immutable data?

1044


Give an example of use of pointers in java class.

1021


Explain about arraylist?

1084


Does java list allow null?

976


What do you mean by a JVM?

1240


What is method overloading in JAVA? Why is it not present in C ?

1093


What are the types of java languages?

971


What is formatted output?

950


What is a class in java?

1001


What is the collections api in java programming?

970


What does the “static” keyword mean?

1091