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

Author Question: Which of the following statements are true? (Read 22 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
Wow, this really help


Zebsrer

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

 

Did you know?

Approximately 15–25% of recognized pregnancies end in miscarriage. However, many miscarriages often occur before a woman even knows she is pregnant.

Did you know?

It is believed that humans initially contracted crabs from gorillas about 3 million years ago from either sleeping in gorilla nests or eating the apes.

Did you know?

In the United States, congenital cytomegalovirus causes one child to become disabled almost every hour. CMV is the leading preventable viral cause of development disability in newborns. These disabilities include hearing or vision loss, and cerebral palsy.

Did you know?

There used to be a metric calendar, as well as metric clocks. The metric calendar, or "French Republican Calendar" divided the year into 12 months, but each month was divided into three 10-day weeks. Each day had 10 decimal hours. Each hour had 100 decimal minutes. Due to lack of popularity, the metric clocks and calendars were ended in 1795, three years after they had been first marketed.

Did you know?

Asthma cases in Americans are about 75% higher today than they were in 1980.

For a complete list of videos, visit our video library