Java Red Line Error With Correct Code Stack Overflow

Java Red Line Error With Correct Code Stack Overflow