Originally posted by sun ram:
Hi,
Is empty file valid source file.
for emptry file javac desn't report any error. But it is not generating class file.
Bye
SR
javac converts the java statements (present in source file) into byte code.This code is then saved in seperate file having "class"
extension.An emty java source file contains no statement(sine it is empty), therefore there will be no byte code, & hence no need for seperate "class" file.
Bye.
Viki.
------------------
Count the flowers of ur garden,NOT the leafs which falls away!