In relation to object oriented programming for java, What is
the purpose of declaring exceptions
A) To ignore errors that occur during program execution
B) To indicate that certain exceptional situations might occur
C) To stop the program immediately when an error occurs
D) To print error messages to the console