Difference between object oriented object based programming language

What restriction placed on location of package within source code file ?

Answer : According to java specification package statement should write first line in java source code file.
Please note: It will exclude blank lines and comment. We can write comment and keep blank lines on top of package statement.

Leave a Reply

Your email address will not be published. Required fields are marked *