I have two question in my mind.
can we create java file having two classes and both have main methods?
is it possible or not? why?
if possible then we have to save it with which class name?
and one more question is:
BufferedReader br = new InputStreamReader(new FileInputStream(new File("abc.txt")));
FileReader ff = new FileReader("abc.txt");
Which one is good to use at which situation?