The compiler is complaining that the caught exception is never thrown in the try block. Why are you trying to catch something that is not thrown?Quote:
Exception is never thrown in body of corresponding try statement
I don't see where there is anything to return in that method.Quote:
how to return the resulting characters in a string
Where is the sumOfLastThreeChar method?
You can use arithmetic operators with char variables: 'a' + 4 or 'd' + 'e'