Exam 1z0-149 All QuestionsBrowse all questions from this exam
Question 23

Which code will successfully create a BODILESS PACKAGE to standardize CONSTANTS and EXCEPTIONS declarations?

    Correct Answer: A

    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.

Discussion
muradh8

The syntax is: PRAGMA EXCEPTION_INIT (exception_name, error_code)