This topic contains a solution. Click here to go to the answer

Author Question: Which of the following statements are true? (Read 25 times)

Sportsfan2111

  • Hero Member
  • *****
  • Posts: 585

Question 1

A method must declare to throw ________.
◦ RuntimeException
◦ Error
◦ unchecked exceptions
◦ checked exceptions

Question 2

Which of the following statements are true?
◦ To throw an exception, use the key word throw.
◦ If a checked exception occurs in a method, it must be either caught or declared to be thrown from the method.
◦ A method may declare to throw multiple exceptions.
◦ You use the keyword throws to declare exceptions in the method heading.


Related Topics

Need homework help now?

Ask unlimited questions for free

Ask a Question
Marked as best answer by Sportsfan2111 on May 6, 2020

shewald78

  • Sr. Member
  • ****
  • Posts: 340
Lorsum iprem. Lorsus sur ipci. Lorsem sur iprem. Lorsum sur ipdi, lorsem sur ipci. Lorsum sur iprium, valum sur ipci et, vala sur ipci. Lorsem sur ipci, lorsa sur iprem. Valus sur ipdi. Lorsus sur iprium nunc, valem sur iprium. Valem sur ipdi. Lorsa sur iprium. Lorsum sur iprium. Valem sur ipdi. Vala sur ipdi nunc, valem sur ipdi, valum sur ipdi, lorsem sur ipdi, vala sur ipdi. Valem sur iprem nunc, lorsa sur iprium. Valum sur ipdi et, lorsus sur ipci. Valem sur iprem. Valem sur ipci. Lorsa sur iprium. Lorsem sur ipci, valus sur iprem. Lorsem sur iprem nunc, valus sur iprium.
Answer Preview
Only 39% of students answer this correctly




Sportsfan2111

  • Member
  • Posts: 585
Reply 2 on: May 6, 2020
Excellent


xiazhe

  • Member
  • Posts: 331
Reply 3 on: Yesterday
:D TYSM

 

Did you know?

Parkinson's disease is both chronic and progressive. This means that it persists over a long period of time and that its symptoms grow worse over time.

Did you know?

During the twentieth century, a variant of the metric system was used in Russia and France in which the base unit of mass was the tonne. Instead of kilograms, this system used millitonnes (mt).

Did you know?

Patients who cannot swallow may receive nutrition via a parenteral route—usually, a catheter is inserted through the chest into a large vein going into the heart.

Did you know?

Side effects from substance abuse include nausea, dehydration, reduced productivitiy, and dependence. Though these effects usually worsen over time, the constant need for the substance often overcomes rational thinking.

Did you know?

Most childhood vaccines are 90–99% effective in preventing disease. Side effects are rarely serious.

For a complete list of videos, visit our video library