Card 11 / 76: You have created a set of classes for your company and would like to include them in a package. Which one of the following would be a valid package name?
A)
your company name
B)
com.your company name
C)
java.your company name
D)
java.your_company_name
E)
com.your_company_name
Answer:
E) com.your_company_name
Previous Card | ← Previous Card Button |
Next Card | → Next Card Button |
Flip Card | Space-Bar |
A, B, C, and D are incorrect.
A, B, and C are incorrect because they contain spaces that are not valid characters in package names.
C and D are incorrect because java* is reserved for official Java packages.
|