Advertisements
Advertisements
Question
______ statement is used for taking the control back to the super method.
Options
void
int
new
return
MCQ
Fill in the Blanks
Advertisements
Solution
Return statement is used for taking the control back to the super method.
Explanation:
The return statement immediately terminates the execution of the current method and passes control back to the caller method (the method that invoked it)
shaalaa.com
Is there an error in this question or solution?
Chapter 3: User-Defined Methods - Exercises [Page 90]
