Which two are true?

Which two are true? (Choose two.)

Which two are true? (Choose two.)

A.
A single import statement can be used to simplify access to several packages in the Java API.

B.
A single import statement can be used to simplify access to several classes in the Java API.

C.
An import statement is associated with only one class in a source file.

D.
A source file can have from zero to many import statements.

E.
If a source file has one import statement, it must be preceded by a package statement.



Leave a Reply 0

Your email address will not be published. Required fields are marked *