Which statement is true?

Examine this code:
CREATE OR REPLACE PACKAGE comm_package
IS
g_comm NUMBER := 10;
PROCEDURE reset_comm(p_comm IN NUMBER);
END comm_package;
/

User Jones executes the following code at 9:01am:
EXECUTE comm_package.g_comm := 15
User Smith executes the following code at 9:05am:
EXECUTE comm_paclage.g_comm := 20
Which statement is true?

Examine this code:
CREATE OR REPLACE PACKAGE comm_package
IS
g_comm NUMBER := 10;
PROCEDURE reset_comm(p_comm IN NUMBER);
END comm_package;
/

User Jones executes the following code at 9:01am:
EXECUTE comm_package.g_comm := 15
User Smith executes the following code at 9:05am:
EXECUTE comm_paclage.g_comm := 20
Which statement is true?

A.
g_comm has a value of 15 at 9:06am for Smith.

B.
g_comm has a value of 15 at 9:06am for Jones.

C.
g_comm has a value of 20 at 9:06am for both Jones and Smith.

D.
g_comm has a value of 15 at 9:03 am for both Jones and Smith.

E.
g_comm has a value of 10 at 9:06am for both Jones and Smith.

F.
g_comm has a value of 10 at 9:03am for both Jones and Smith



Leave a Reply 1

Your email address will not be published. Required fields are marked *


Md Sanowar Hossain

Md Sanowar Hossain

Ans is B