Describe difference between method overriding and overloading?

Describe difference between method overriding and overloading?

Both are type of polymorphism, method overloading having same method name but different parameter list (number, order, type), it is resolved at compile time so it is known as Early binding.
Method overriding having same method name, parameter list and return type is also same.It is resolved at runtime therefore called Late binding.

By:Sumit Tripathi
Date:2025-05-15 00:00:00

Post Your Answers


User Email:

User Name:
Answers:

Related Java Subjective Links

Java Subjective interview questions and answers for experienced and fresher