Which two statements about packages are true?

Which two statements about packages are true? (Choose two)

Which two statements about packages are true? (Choose two)

A.
Packages can be nested.

B.
You can pass parameters to packages.

C.
A package is loaded into memory each time it is invoked.

D.
The contents of packages can be shared by many applications.

E.
You can achieve information hiding by making package constructs private.

Explanation:
Actually theses are some of the advantages of the package, sharing the package among
applications and hide the logic of the procedures and function that are inside the package by
declaring them in the package header and write the code of these procedures and functions inside
the package body.
Incorrect Answers:
A: Packages can not be nested
B: Parameters can’t be passed to a package; parameters can be passed to procedures and
functions only.
C: By the first time you call a procedure, function, or reference a global variable within the
package, the whole package will be loaded into the memory and stay there, so when ever you
need to reference any of the package’s constructs again you will find it in the memory.



Leave a Reply 0

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