Start learning →

Which error occurs when default values make method selection ambiguous?

ANull pointer error
BType cast error
CStack overflow error
DAmbiguous call error
Answer & Solution
Correct answer: D. Ambiguous call error
An ambiguous call error arises when the compiler cannot uniquely decide which overload to invoke.
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 →