| 2. |
Which of the following are true about packages and importing?
Please select all the correct answers.
|
| |
A.
|
If an import statement is used, it must be the first non-blank line of a source code file. |
| |
B.
|
A package is used to define a separate naming context. |
| |
C.
|
A package may contain more than one class or interface of the same name. |
| |
D.
|
The java.lang package is automatically imported and does not need to be imported using an import statement. |