1.

When does method overloading is determined?(a) At run time(b) At compile time(c) At coding time(d) At execution timeI got this question in an online interview.This interesting question is from Concepts of OOPs in section Java Environment & OOPS Concepts of Java

Answer»

Right ANSWER is (b) At compile TIME

For explanation I would say: Overloading is determined at compile time. Hence, it is ALSO KNOWN as compile time POLYMORPHISM.



Discussion

No Comment Found

Related InterviewSolutions