Which of the following statements are true?
a. You use the keyword throws to declare exceptions in the method heading.
b. A method may declare to throw multiple exceptions.
c. To throw an exception, use the key word throw.
d. If a checked exception occurs in a method, it must be either caught or declared to be thrown from the method.
a. You use the keyword throws to declare exceptions in the method heading.
b. A method may declare to throw multiple exceptions.
c. To throw an exception, use the key word throw.
d. If a checked exception occurs in a method, it must be either caught or declared to be thrown from the method.
You might also like to view...
which of the following statements about JPA database transaction processing is false?
a. Transaction processing enables a program that interacts with a database to treat a set of operations as a single operation. Such an operation also is known as an atomic operation or a transaction. b. At the end of a transaction, a decision can be made either to commit the transaction or roll back the transaction. c. Committing a transaction finalizes the database operation(s); all insertions, updates and deletions performed as part of the transaction cannot be reversed. d. Rolling back the transaction leaves the database in its state prior to the data-base operation. This is useful when a portion of a transaction fails to complete properly.
How can you use ssh to find out who is logged in on a remote system?
What will be an ideal response?