Advertisement
Guest User

Untitled

a guest
Oct 18th, 2019
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.11 KB | None | 0 0
  1. public String backAround(String str) {
  2. char last = str.charAt(str.length() - 1);
  3. return last + str + last;
  4. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement