Question: Visual programming (choose the correct answer) 17 Given the following piece of code : 1 FileStream input = new FileStream( fileName, FileMode. Open, FileAccess. Read);
Visual programming (choose the correct answer)

17 Given the following piece of code : 1 FileStream input = new FileStream( fileName, FileMode. Open, FileAccess. Read); StreamReader fileReader = new StreamReader(input); String s = fileReader.ReadLine(); String s2 = fileReader.ReadLine(); Then s = the first line in the file. Os = the last line in the file. s = the second line in the file. Non of the options O 18 Which one of the following is wrong about class constructor? 1 It can take parameters It has a return type Initializes objects Has the same name as the class name
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
