0

How can we find the shortest String?

How can we find the shortest String? For example; String a ="bird"; String b = "girl"; String c = "car"; String d= "company"; String e = "boy"; Here the shortest Strings are a "car", and a "boy", so how can we find it and display each one on a new line?

20th Aug 2020, 5:13 PM
Umidbek
Umidbek - avatar
2 Respuestas
0
Ok, thanks
21st Aug 2020, 5:22 AM
Umidbek
Umidbek - avatar