0
/ 50
Write a function in Java that implements the following logic: Given a string, if the string begins with "red" or "blue" return that color...
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.
Your feedback will appear here when you check your answer.