LINE/COL ERROR
——– —————————————————————–
4/11 PLS-00323: subprogram or cursor ‘PROC2’ is declared in a package
specification and must be defined in the package body
Yes, A is the correct answer.
Explanation - It is not a mandate to declare all the procedures/functions inside a package body in declarative section too.
Whatever is declared in declarative section of a package declaration becomes public. i.e. accessible outside package also using <<package_name.procedure_name>>.
However, the procedures/functions declared in the package specification/declarative part should be defined in package body otherwise it gives error procedure body missing.
i think only A, because in Package body we can write hidden subprograms, without specifying them in PACKAGE SPECIFICATION.
upvoted 7 times
...
...
This section is not available anymore. Please use the main Exam Page.1z0-144 Exam Questions
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Naveen_2022
2 years, 10 months agoAnubhav244
4 years, 4 months agowilljdp
4 years, 10 months agoHexaDev
4 years, 10 months ago