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

Author Question: Which of the following statements creates an instance of File on Window for the file c:\temp.txt? (Read 18 times)

Lobcity

  • Hero Member
  • *****
  • Posts: 524

Question 1

Which of the following returns the path separator character?
◦ File.pathSeparatorChar
◦ File.pathSeparator
◦ File.separatorChar
◦ File.separator
◦ None of the above.

Question 2

Which of the following statements creates an instance of File on Window for the file c:\temp.txt?
◦ new File("c:/temp.txt")
◦ new File("c://temp.txt")
◦ new File("c:\temp.txt")
◦ new File("c:\\temp.txt")


Related Topics

Need homework help now?

Ask unlimited questions for free

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

elyse44

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




Lobcity

  • Member
  • Posts: 524
Reply 2 on: May 6, 2020
Thanks for the timely response, appreciate it


cpetit11

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

 

Did you know?

The B-complex vitamins and vitamin C are not stored in the body and must be replaced each day.

Did you know?

The top five reasons that children stay home from school are as follows: colds, stomach flu (gastroenteritis), ear infection (otitis media), pink eye (conjunctivitis), and sore throat.

Did you know?

Alzheimer's disease affects only about 10% of people older than 65 years of age. Most forms of decreased mental function and dementia are caused by disuse (letting the mind get lazy).

Did you know?

Atropine was named after the Greek goddess Atropos, the oldest and ugliest of the three sisters known as the Fates, who controlled the destiny of men.

Did you know?

Barbituric acid, the base material of barbiturates, was first synthesized in 1863 by Adolph von Bayer. His company later went on to synthesize aspirin for the first time, and Bayer aspirin is still a popular brand today.

For a complete list of videos, visit our video library