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 floating data type?

917


why an outer class cannot be declared as private?

4223


State some situations where exceptions may arise in java?

1002


Explain the JDB in depth & command line.

959


Explain public static void main(string args[]) in java.

931


What is the properties class in java programming?

943


What is class and object in java?

946


do I need to use synchronized on setvalue(int)? : Java thread

958


How does linkedhashmap work in java?

933


What are different types of classloaders?

977


Is minecraft java edition free?

1068


What is the difference between keyword and identifier?

975


Can a set contain duplicates?

902


What is method reference in java?

1053


What is difference between final and immutable?

1076