Is there any reason that the package statement in java should be at the beginning?

Viewed 4330

I am beginning with the Java Programming language; and I have a simple question:

In java packages, if the class is part of a package, the package statement must be the first line in the source code file, before any import statements that may be present.

Is there any valuable reason for the package statement should be at the beginning?

3 Answers
Related