Computer Science, asked by sahillincon90, 1 year ago

Is empty source file valid java program true or false?

Answers

Answered by satyam242
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