Home »
PL/SQL MCQs
When SELF_IS_NULL exception is raised?
126. When SELF_IS_NULL exception is raised?
- Errors are raised when dividing by zero is attempted.
- When a member method is invoked on an object type, but its instance has not been initialized, this exception is raised.
- Error in PL/SQL occurs when memory is exhausted or corrupt.
- It is raised when more than one row is returned by a SELECT INTO statement.
Answer: B) When a member method is invoked on an object type, but its instance has not been initialized, this exception is raised.
Explanation:
SELF_IS_NULL exception is raised when a member method is invoked on an object type, but its instance has not been initialized, this exception is raised.