Oracle Database: Program with PL/SQL — Question 7

Examine this Java method in class Employee, loaded into the Oracle database:
Public static int updateSalary (String name, float salary) {}
Which PL/SQL specification can be used to publish this method?

Answer options

Correct answer: C

Explanation

Option C is the correct answer because it correctly specifies the method name with the appropriate Java parameters and follows the PL/SQL syntax. Options A and B incorrectly use 'LIBRARY' or have the wrong method naming convention, while option D does not adhere to the correct parameter naming convention. Option E is incomplete as it does not provide the necessary details for parameterization.