CodeGym/Help with Java Tasks/Is the error logical or syntax related?Xuhaib Level 7Lahore15.11.20181357views1commentIs the error logical or syntax related? Question about the task Longest string Java Syntax, Level 7, Lesson 6 Archived Line no# 40 0 Comments (1)PopularNewOld You must be signed in to leave a comment Michael Martin Level 19 , Arlington, United States15 November 2018, 19:14usefulYou need to get the length of the strings. You are using the strings themselves. It should be similar to: int max = strings.get(0).length() on line 36 +1