Problem Description

Task: validate (nameLength > 0) and (score between 0..100). Throw IllegalArgumentException if any fails.

Input Format

Java method

Output Format

Return value

Constraints

Return 1 when valid.

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next