Give a key advantage and a key disadvantage of using catch(...).
What will be an ideal response?
The form catch(...) catches any type of exception thrown in a try block. An advantage is that all possible exceptions will be caught. A disadvantage is that the catch has no parameter, so it cannot reference information in the thrown object and cannot
know the cause of the exception.
Computer Science & Information Technology
You might also like to view...
Which command compiles the Java source code file Welcome.java?
a. cd Welcome.java b. javac Welcome.java c. java Welcome.java d. compile Welcome.java
Computer Science & Information Technology
When an application is configured for ____, it periodically checks the software publisher's Web site for updates, downloads updates automatically, and installs them without user intervention.
A. automatic downloads B. version updates C. automatic updates D. software upgrades
Computer Science & Information Technology