• A The program will compile successfully but may throw a runtime exception.
  • B The elements will be modified without any issues.
  • C The loop will stop executing.
  • D You cannot modify elements in a for-each loop.
  • Share this MCQ