A class within a package must be declared public if

a. It will be used only by other classes in the same package.
b. It will be used by classes that are not in the same package.
c. It is in the same directory as the other classes in the package.
d. It has a unique name.

B

Computer Science & Information Technology

You might also like to view...

When viewing a comment screen the ________ shows the initials, date, and time the comment was created

A) preview B) properties C) comment pane D) screentip

Computer Science & Information Technology

When assigning a button to the Quick Access Toolbar, go to the Excel ________ dialog box

Fill in the blank(s) with correct word

Computer Science & Information Technology