Can someone explain this for me without using complicated methods like case? I just know what is for each, while or if. Some basic coding. Thank you so muchAttachment 1Attachment 2Attachment 3Attachment 4Task 1.5Test all your methods.public String trim()now...