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.