Problem Description

Task: age must be 1..120. If not, throw IllegalArgumentException.

Input Format

Java method

Output Format

Return value

Constraints

Check both ends.

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next