You are writing a Java method named safeRoot. The method must meet the following requirements:
How should you complete the code? To answer, select the appropriate code segments in the answer area. NOTE: Each correct selection is worth one point.
Answer: