import java.io.*;
public class inputApp
{
public static void main(String args[])
{
system.out.println("....");
try{
InputStream MyInputStream=new FileInputStream("test.java");
string str="";
int inp=0;
while(inp!=-1)
{
inp=MyInputStream.read();
str+=(char)inp;
}
MyInputStream.close();
System.out.Println(str);
}
catch(FileNotFoundException e){
System.out.Println("File not found");
}
catch(IOException)
{
System.out.println("I/0 Error");
}
}
}
can anyone explain this simple code for me?urgently in use