Thanks for replying.But in DOS os the files will be stored
with extension .jav(it takes only three characters).Then how
a interpreter can run this file.
Also whether it is possible to run a class file in UNIX machine
which has been compiled in some other OS.Whether we should
put the java file also on UNIX machine and compile it here or
only class files are needed to be placed here.