Examine the following code that you plan to execute:
What correction should be performed in the above code?
A.
The PROC2 procedure code should be defined in the package body.
B.
The PROC3 procedure should be declared in the package specification.
C.
The PROC3 procedure header should be declared at the beginning of the package body.
D.
The variable x must be declared in the package body and removed from the specification,
Explanation:
A
A
A
A
HI
please, as someone has already done,
please teach me something….. [email protected]
the solution in my opinion is in two answer, i mean….
how can i know what questonnair has in mind ?
proc3 must be encapsuled ?
if so, the answer C is also right to improve the code because private procedure has to be written before of public in the body…..
proc3 has to be public ?
then answer B is also right….
please help to me to see the minimum range of the question
thanks
certainly the answer A is mandatary
B, package body is unnecessary.
a