Single Choice
Easy
QThe statement that brings the control back to the calling method is:
ID: #24266
ICSE Computer Application - Class X - 2025 SPECIMEN QUESTION PAPER
64 views
Question Info
#24266Q ID
EasyDifficulty
ICSE Computer Application - Class X - 2025 SPECIMEN QUESTION PAPERTopic
Your Answer
Choose the Best Option
Click any option to instantly check if you're correct.
Correct Answer
Explanation
The statement that brings the control back to the calling method:
-
break → exits a loop or
switch, but control does not go to the calling method. -
System.exit(0) → terminates the entire program.
-
continue → skips the current iteration of a loop, but stays inside the loop.
-
return → exits from the current method and returns control to the calling method. ✅
Answer: (d) return
Continue Practice
Share
Share This Question
Challenge a friend or share with your study group.
More from This Topic