To include a class in a package, you

To include a class in a package, you


a. code an import statement as the first statement of the class
b. code a package statement as the first statement in the class file
c. code the name of the package in the class declaration
d. code a package statement as the last statement in the class file


Answer: b. code a package statement as the first statement in the class file


Learn More :