Problem Description

Task: create a custom exception InsufficientBalanceException and throw it when withdraw > balance.

Input Format

Java method

Output Format

Return value

Constraints

Keep exception as checked.

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next