Raena AI
Your AI Study Solution
🇬🇧
EN
Create free account
Question 1 of 40
What is an exception in Java?
A. A mechanism to prevent any errors from occurring in a program.
B. An object that is thrown at runtime, disrupting the normal flow of the program.
C. An error that occurs only during compile-time.
D. An event that enhances the normal flow of the program.