In the name of ALLAH, the most beneficient, the most merciful

Web Design and Development (CS506)

Question (select most suitable option)

  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);