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

Scientists who studies things that past cultures have made and used
Which describes a major challenge facing the builders of the transcontinental railroad?
Elements that can be described by the hardness shininess and ductility
Which describes a major challenge facing the builders of the transcontinental railroad?
Mrs Frasier is making costumes for the school play. Each costume requires 0.75 yard of fabric. she bought 6 yards of fabric. how many costumes can sh make?
what is the definition for the word theory
For what value of a is a(2x+3)=9x+15+x an identity?
A jeweler is heating a bar if gold. It takes 7 joules of heat to raise temperture if the bar 1degrees celsuisThe initial temperture of the bar is 25degress cels
What is 72/100 simplified
Mrs Frasier is making costumes for the school play. Each costume requires 0.75 yard of fabric. she bought 6 yards of fabric. how many costumes can sh make?