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 meant by attribute?

1126


What does system.gc() and runtime.gc() methods do?

1053


Which of the following is not an isolation level in the JDBC

2126


How does sublist works in java?

974


Can we use static class instead of singleton?

1054


Can a static class implement an interface?

1126


Why unicode is important?

940


Write a program to find the greatest of three numbers in java?

1005


How do I convert a string to an int in java?

1073


Why we used break and continue statement in java?

1145


What is an enumeration?

1068


In multi-threading how can we ensure that a resource isn't used by multiple threads simultaneously?

1323


Hi all, I am dng a mini project on FileSplitter application which splits the GBs of logfile into Smaller chunks(mbs) depending on the split size." How to handle GBs file? I am getting OutOfMemoryException, when I input such GB sized file. Thx

2134


What is string and its types?

1187


What is comparable and comparator interface? List their differences

1110