Multiple choice

Which of the following statements is FALSE about packages?

  1. Packages are made up of two components: specification and body

  2. The package body contains the actual code.

  3. The package specification contains the actual code.

  4. Packages encapsulate related procedures, functions, etc. into one self-contained unit.

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

The specification part does not contain the actual executable code of the functions and procedures but just their declaration. The actual code is written in the body part.