Hi Brian,
Yes, it does.
Actually, the confusion came up when I attempted this question:
Question:
Which of the following are legal Java programs. Select all the correct answer.
A. // The comments come before the package
package pkg;
import java.awt.*;
class C{}
B. package pkg;
import java.awt.*;
class C{}
C. package pkg1;
package pkg2;
import java.awt.*;
class C{}
D. package pkg;
import java.awt.*;
E. import java.awt.*;
class C{}
F. import java.awt.*;
package pkg;
class C {}
Would u agree with the given answer: A, B, D, E
I don't quite agree with D.
Thanks again.
Gaia.