Start learning →

When does the compiler resolve which overloaded method to invoke in Java?

ADuring execution
BAt compile time
CAt class unloading
DDuring linking
Answer & Solution
Correct answer: B. At compile time
In statically-typed languages like Java, the compiler resolves overloaded method calls at compile time.
Practise this question with Quill — ICSE Class 10 →

Keep practising User-Defined Methods and Constructors

Browse all User-Defined Methods and Constructors questions for ICSE Class 10, or explore more Computer Applications topics.

Start a User-Defined Methods and Constructors lesson →