1. What are the two main mechanisms of polymorphism in Java?
Ans. Method Overloading and Method Overriding.
2. What is method overloading in Java?
Ans. A way to provide different implementations of the same method for different types of input.
3. What is method overriding in Java?
Ans. A way to provide new implementation for a method that is already defined in a super class.
