Practice ยท 1 of 3
The uncrashable age parser
Write parseAge(String field) that returns the age as an Integer, or null when it is missing, not a number, or implausible (outside 0..150). Trim whitespace before parsing.
Difficulty: intermediate
Press Submit to check your solution.
Back to lesson: Practice: Practice: Fail Well