Which of the following is true about both functions and procedures?

Hưng Thịnh

New member
Which of the following is true about both functions and procedures?
A. WAIT statement can’t be used
B. When declared in a package, both require package body
C. SIGNALs can’t be declared
D. RETURN is used in both
 
Answer: b
Explanation: When function or procedure is placed in a package, then it is necessary to write the package body so that functions and procedures can be defined. However, WAIT can be used in procedures and same is true about signals. RETURN is not used in a procedure.
 

Tìm kiếm

Back
Top