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

Which is the correct method to implement a local subprogram in an anonymous block?

    Correct Answer: D

    To implement a local subprogram in an anonymous block, you need to declare the subprogram within the DECLARE section of the block, followed by the BEGIN section where the subprogram can be called. Option D correctly shows an anonymous block with a declared local subprogram.

Discussion
alinaabalaseiOption: D

D is correct

DobreOption: D

Not A. In case A returns ORA 06550 PLS-00103: Encountered the symbol "BEGIN"

egznrdOption: D

D is correct

thranduylOption: D

D, TESTED