program in java. Get a string from user and also validate it’s length should be at least 1. Pass this string to a method that returns a new string with the first char added at the front and end, so "cat" yields "ccatc".
By Sarah Braun at Mar 16 2021
String length() method in java
By rhalp10 at Dec 07 2020