Which of the following syntax is used to attach an input stream-06129
Which of the following syntax is used to attach an input stream to console?
This multiple choice question (MCQ) is related to the book/course vu cs506 Web Design and Development. It can also be found in vu cs506 Mid Term - Quiz No.6.
Which of the following syntax is used to attach an input stream to console?
FileReader fr = new FileReader(' input.txt ') ;
FileReader fr = new FileReader(FileDescriptor.in);
FileReader fr = new FileReader(FileDescriptor);
FileReader fr = new FileReader(console);