Examine these statements issued by user SH which execute successfully:
DBMS_OUTPUT.PUT_LINE(p_price(i)); END LOOP; END; END products_pkg; /
Now, examine this anonymous block executed by SH:
Which is true about the anonymous block?
It will execute successfully only if PriceList is removed from the DECLARE section and defined as a standalone collection type.
It will execute successfully only if PriceList is defined as an associative array in the package and anonymous block.
It will fail at lines 6 and 7.
It will fail only at line 7.
Submit