Back
There are two types of polymorphism in JAVA. The first is compile-time polymorphism in which all calls and overrides are resolved at compile time itself. The second one is runtime polymorphism in which all of these things are resolved at runtime upon execution of the byte code. Runtime polymorphism is achieved via inheritance and interfaces. If you're looking to learn java from a practical perspective, you'll find polymorphism in the following cases:
31k questions
32.8k answers
501 comments
693 users