What restrictions are placed on the location of a package statement within a source code file?

Q

What restrictions are placed on the location of a package statement within a source code file?

✍: Guest

A

A package statement must appear as the first line in a source code file (excluding blank lines and comments).

2012-10-02, 2348👍, 0💬