A.
Improves the program structure because the error handling code is separated from the normal program function
Improves the program structure because the error handling code is separated from the normal program function
B.
Provides a set of standard exceptions that covers all the possible errors
Provides a set of standard exceptions that covers all the possible errors
C.
Improves the program structure because the programmer can choose where to handle exceptions
Improves the program structure because the programmer can choose where to handle exceptions
D.
Improves the program structure because exceptions must be handled in the method in which they occurred
Improves the program structure because exceptions must be handled in the method in which they occurred
E.
allows the creation of new exceptions that are tailored to the particular program being
Risposta ACEallows the creation of new exceptions that are tailored to the particular program being
B: le eccezioni standard non coprono tutti i possibili errori.
E:Non si deve per forza gestire le eccezioni nei metodi dove succedono, ad esempio possono gestire anche nei metodi chiamanti.
Nessun commento:
Posta un commento