X8: seeColor

Write a function in Java that implements the following logic: Given a string, if the string begins with "red" or "blue" return that color string, otherwise return the empty string.

Reset

Practice a different Java exercise