Function has return type in specification & must return value specified in that type - PL/SQL
Q. Which of the following has a return type in its specification and must return a value specified in that type?- Published on 09 Jul 15a. Function
b. Procedure
c. Package
d. None of the above
ANSWER: Function
Functions in a subprogram act like new expressions and operators. A function computes a value in a subprogram. The function has a return clause.