X7: endsLy

Write a function in Java that implements the following logic: Given a string, return true if it ends in "ly".

testFile.text

Your Answer:

Reset

Practice a different Java exercise

Feedback

Your feedback will appear here when you check your answer.