jacobdobson5053 jacobdobson5053
  • 14-09-2019
  • Computers and Technology
contestada

Explain what happens if you try to open a file for reading that does not exist.

Respuesta :

skopie skopie
  • 19-09-2019

Answer:

Exception is thrown and the file is created with 0 length.

Explanation:

While opening a file there is an error occur which shows the file does not exist that means an  exception is thrown.

And this error can be occur when the size of the file is very very low means the file is a size of 0 length. So to avoid this error we have to exceed its length from the zero length.

Answer Link

Otras preguntas

Search results for "A shipment of 18 cars, some weighing 3,000 pounds, and the others weighing 5,000 pounds each. Together the shipment has a total weight of 30
How does 4/15=14/n? What does n equal?
List 3 commercial uses of sponges.
C(squared)L(squared) + 100v(squared) = 100c(squared)I have to solve for L
C(squared)L(squared) + 100v(squared) = 100c(squared)I have to solve for L
C(squared)L(squared) + 100v(squared) = 100c(squared)I have to solve for L
What kind of particles make up compound
C(squared)L(squared) + 100v(squared) = 100c(squared)I have to solve for L
C(squared)L(squared) + 100v(squared) = 100c(squared)I have to solve for L
How does 4/15=14/n? What does n equal?