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

Author Question: Which statement is true about BufferedWriters (Read 91 times)

laurencescou

  • Hero Member
  • *****
  • Posts: 593

Question 1

Which of the following messages passed to the String str could throw a StringIndexOutOfBoundsException?
◦ str.length( )
◦ str.charAt(2);
◦ str.replace('a', 'A');
◦ str.equals(str);
◦ any of these could throw a StringIndexOutOfBoundsException

Question 2

Which statement is true about BufferedWriters
◦ BufferedWriters are used because they improve runtime efficiency
◦ BufferedWriters are used because they improve compile time efficiency
◦ BufferedWriters can be used with input streams as well as with output streams
◦ using a BufferedWriter obviates the necessity for catching IOExceptions
◦ none of these


Related Topics

Need homework help now?

Ask unlimited questions for free

Ask a Question
Marked as best answer by laurencescou on Aug 30, 2020

juwms

  • Sr. Member
  • ****
  • Posts: 337
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




laurencescou

  • Member
  • Posts: 593
Reply 2 on: Aug 30, 2020
Excellent


marict

  • Member
  • Posts: 304
Reply 3 on: Yesterday
Thanks for the timely response, appreciate it

 

Did you know?

Congestive heart failure is a serious disorder that carries a reduced life expectancy. Heart failure is usually a chronic illness, and it may worsen with infection or other physical stressors.

Did you know?

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

Did you know?

Acute bronchitis is an inflammation of the breathing tubes (bronchi), which causes increased mucus production and other changes. It is usually caused by bacteria or viruses, can be serious in people who have pulmonary or cardiac diseases, and can lead to pneumonia.

Did you know?

Once thought to have neurofibromatosis, Joseph Merrick (also known as "the elephant man") is now, in retrospect, thought by clinical experts to have had Proteus syndrome. This endocrine disease causes continued and abnormal growth of the bones, muscles, skin, and so on and can become completely debilitating with severe deformities occurring anywhere on the body.

Did you know?

The types of cancer that alpha interferons are used to treat include hairy cell leukemia, melanoma, follicular non-Hodgkin's lymphoma, and AIDS-related Kaposi's sarcoma.

For a complete list of videos, visit our video library