1.

The names given to the default arguments are only looked up and ________________ and are bound during declaration.(a) Checked for availability(b) Checked for random access(c) Checked for accessibility(d) Checked for feasibilityThis question was posed to me in an internship interview.This intriguing question comes from Default Arguments in chapter Default Arguments vs Overloading, Upcasting and Downcasting of Object Oriented Programming

Answer» RIGHT ANSWER is (C) Checked for accessibility

To EXPLAIN I would say: The names given to the default arguments are bound at time of declaration but are only checked for accessibility and to get BOUNDED. This is mainly to bind those members during declaration.


Discussion

No Comment Found

Related InterviewSolutions