Ask Question
2 May, 04:22

Suppose a reference variable of type file called myfile has already been declared. create an object of type file with the initial file name input. dat and assign it to the reference variable myfile.

+5
Answers (1)
  1. 2 May, 05:21
    0
    If the variable myfile has been declared, then the way to create an object with a file name of input. dat is to declare the variable input. dat as well. Next, the variable can then be assigned to the data that is manually inputted. Finally, the reference variable myfile can be equated to the input. dat variable.
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “Suppose a reference variable of type file called myfile has already been declared. create an object of type file with the initial file name ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers