What happens if you compile an empty java file?

Posted by GK on Stack Overflow See other posts from Stack Overflow or by GK
Published on 2010-03-18T05:34:46Z Indexed on 2010/03/18 5:41 UTC
Read the original article Hit count: 294

Filed under:

When i compiled an empty java file it didn't produce any class file. So wanted to know how compiler react when compiling an empty java file. It should have generated an empty class file in this, why it didn't?

© Stack Overflow or respective owner

Related posts about java