問題詳情

QUESTION 91Examine this packageCREATE OR REPLACE PACKAGE discountsISg_id NUMBER:=7839discount_rate NUMBER:=0.00;PROCEDURE display_price(p_price NUMBER);END discount;/CREATE OR REPLACE PACKAGE BODY discountsISPROCEDURE display_price (p_price NUMBERI)ISBEGINDBMS_OUTPUT.PUT LINE ( 'Discounted '||TO_CHAR(p_price*NVL(discount_rate,1)));END discount;BEGINDiscount_rate=0.10;END discounts;/The SOL*Plus SERVEROUTPUT setting is turned on in your session. You execute the procedure DISPLAY_PRICE from SOL*Plus with the command EXECUTE discount.display_price(100);What is the result?
(A)Discounted 10
(B)Discounted 100
(C)Discounted 0.00
(D)Discounted NULL
(E)Discounted 0.10

參考答案

答案:A
難度:非常困難0
統計:A(0),B(0),C(0),D(0),E(0)