Which two statements are true regarding a PL/SQL package body?

Which two statements are true regarding a PL/SQL package body? (Choose two.)Package Specification and Body Package bodies:• Are separate from package specifications. Because of this, the code of the body can be changed and recompiled, and other objects that are dependenton the specification are not marked invalid.• Contain the code for subprograms defined in the package specification. This is where the work is done. The specification shows how to callsubprograms within the package: the body is the code section• Cannot be compiled unless the package specification has already been compiled. You can create a specification without a body- but you cannot createa body without a specification.• May be wrapped to hide details of the code. Wrap is a stand-alone program that obfuscates PL SQL source code so that you can deliver PL SQLapplications without exposing your source code. For more information about the use of wrap, see the PL/SQL Packages and Types Reference.

Question:

Which two statements are true regarding a PL/SQL package body?

Options:

It cannot be created without a package specification.

It cannot invoke subprograms defined in other packages.

It can contain only the subprograms defined in the package specification.

It can be changed and recompiled without making the package specification invalid.

Correct Answer

The Correct Answer for this Question is

It cannot be created without a package specification.
It can be changed and recompiled without making the package specification invalid.

You may also like...

Leave a Reply

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