Which two statements about packages are true? (Choose two)
A.
Both the specification and body are required components of a package.
B.
The package specification is optional, but the package body is required.
C.
The package specification is required, but the package body is optional.
D.
The specification and body of the package are stored together in the database.
E.
The specification and body of the package are stored separately in the database.
Explanation:
Correct Answer C: A Package must have a specification. A Package may also have a body but it is not necessary. A Package without a package body are referred to as a bodiless package. If a package specification contains only variables, constants, types, exceptions, and a call specification, the package body is not required. Correct Answer E: The package specification and body are stored separately in the database.
Incorrect Answers:A: A package body is optional
B: The package specification is required and the package body is optional D: The package specification and the body are stored in the database as separate objects.