InterviewSolution
| 1. |
Is It Possible To Write A Package Specification Without A Package Body? |
|
Answer» Yes, it is possible to write a package specification without a package body but not the vice VERSA. This is specifically USED if there is a package, which is only used for the declaration of PUBLIC variables, types, constants, and exceptions. In such case, there is no NEED for a package body and only package specification is ENOUGH. Yes, it is possible to write a package specification without a package body but not the vice versa. This is specifically used if there is a package, which is only used for the declaration of public variables, types, constants, and exceptions. In such case, there is no need for a package body and only package specification is enough. |
|