publicStringmessage(List<String>list){switch(list.toArray().length){case0:return"no one likes this";case1:returnlist.get(0)+" likes this";case2:returnlist.get(0)+" and "+list.get(1)+" like this";case3:returnlist.get(0)+", "+list.get(1)+" and "+list.get(2)+" like this";default:returnlist.get(0)+","+list.get(1)+" and "+(list.toArray().length-2)+" other like this";}
`
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
`