X497: Review - Substring Practice

Description

Complete the method below for evaluating the substring of any string. If the given string is empty, return "Empty". If the parameters are invalid, return "Invalid Parameters". Otherwise, return the substring.

Reference

You may consult the Java documentation on String for methods to use.

Your Answer:

Reset

Practice a different Java exercise

Feedback

Your feedback will appear here when you check your answer.