why compiler needs .java suffix but interpreter doesn't need .class suffix?
<p><strong>To compile Foo.java :</strong> javac Foo.java</p>

<p><strong>To run the program  :</strong> java Foo</p>

<p>why compiler needs <code>.java</code> suffix but interpreter doesn't need <code>.class</code> suffix?</p>
