Is empty source file valid java program true or false?
Answers
Answered by
0
An empty source file will create no classfiles, so there is nothing for the JVM to "handle". And an empty class file (which is not something the compiler will create) is invalid, probably resulting in a ClassFormatError or something like that, if that was your question
Similar questions