0
Q:

comapring string based on the lenght

Comparator<String> strlenComp = (a, b) -> Integer.compare(a.length(), b.length());
0

New to Communities?

Join the community