Which code will successfully create a BODILESS PACKAGE to standardize CONSTANTS and EXCEPTIONS declarations?
Which code will successfully create a BODILESS PACKAGE to standardize CONSTANTS and EXCEPTIONS declarations?
To create a bodiless package for standardizing constants and exceptions declarations, you need to use the 'CREATE PACKAGE' statement without the 'BODY'. Option A correctly defines a package specification using 'CREATE PACKAGE' syntax without including a package body, thereby creating a bodiless package. The syntax and structure match the requirements for such a package.
The syntax is: PRAGMA EXCEPTION_INIT (exception_name, error_code)