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

Author Question: To create an InputStream to read from a file on a Web server, you use the method ________ in the URL class. (Read 53 times)

codyclark

  • Hero Member
  • *****
  • Posts: 538

Question 1

Which method can be used to create an output object for file temp.txt?
◦ new PrintWriter("temp.txt")
◦ new PrintWriter(new File("temp.txt"))
◦ new PrintWriter(File("temp.txt"))
◦ new PrintWriter(temp.txt)

Question 2

To create an InputStream to read from a file on a Web server, you use the method ________ in the URL class.
◦ openStream();
◦ connectStream();
◦ getInputStream();
◦ obtainInputStream();


Related Topics

Need homework help now?

Ask unlimited questions for free

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

annierak

  • 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 29% of students answer this correctly




codyclark

  • Member
  • Posts: 538
Reply 2 on: May 6, 2020
YES! Correct, THANKS for helping me on my review


kilada

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

 

Did you know?

The average office desk has 400 times more bacteria on it than a toilet.

Did you know?

When blood is exposed to air, it clots. Heparin allows the blood to come in direct contact with air without clotting.

Did you know?

Many people have small pouches in their colons that bulge outward through weak spots. Each pouch is called a diverticulum. About 10% of Americans older than age 40 years have diverticulosis, which, when the pouches become infected or inflamed, is called diverticulitis. The main cause of diverticular disease is a low-fiber diet.

Did you know?

The familiar sounds of your heart are made by the heart's valves as they open and close.

Did you know?

Asthma attacks and symptoms usually get started by specific triggers (such as viruses, allergies, gases, and air particles). You should talk to your doctor about these triggers and find ways to avoid or get rid of them.

For a complete list of videos, visit our video library