MCQ Single Best Answer Easy

QThe statement that brings the control back to the calling method is:

ID: #24266 ICSE Computer Application - Class X - 2025 SPECIMEN QUESTION PAPER 59 views
Question Info
#24266Q ID
EasyDifficulty
ICSE Computer Application - Class X - 2025 SPECIMEN QUESTION PAPERTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A break
  • B System.exit(0)
  • C continue
  • D return
Correct Answer: Option D

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.

  • returnexits from the current method and returns control to the calling method. ✅

Answer: (d) return

Share This Question

Challenge a friend or share with your study group.