Multiple choice technology databases

Which of the following statements is false with respect to packages?

  1. The package itself cannot be called, parameterized, or nested.

  2. The format of a package is similar to that of a subprogram.

  3. The contents can be shared by many applications once written.

  4. None of the above.

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

This is a trick question - all three statements A, B, and C about packages are actually TRUE. Statement A is true - packages cannot be called, parameterized, or nested like subprograms can. Statement B is true - packages do have a format similar to subprograms with specification and body. Statement C is true - packages are designed for code sharing. Since the question asks 'which is false' and none of A, B, or C are false, the correct answer is D (None of the above).