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 15

a. 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.

Post your comment / Share knowledge


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)