Oracle
1Z0-144 · Question #28
Examine the following partial code: Which statement is correct about the unnamed block of code at the end of a package body?
The correct answer is C. It acts as a package initialization block that executes once, when the package is first invoked. See the full explanation below for the reasoning.
Question
Examine the following partial code:
Which statement is correct about the unnamed block of code at the end of a package body?
Exhibit
Options
- AIt generates an error because all the blocks of code in a package body must be named.
- BIt generates an error because V_TAXRATE is a public variable that is already initialized in the
- CIt acts as a package initialization block that executes once, when the package is first invoked
- DIt acts as a package initialization block that executes each time a package subprogram is invoked
How the community answered
(61 responses)- A7% (4)
- B3% (2)
- C77% (47)
- D13% (8)
Community Discussion
No community discussion yet for this question.
