Given 2 String
s, first
and second
, return a new String
made of the first
character of first
and the last character of second
.
So "yo" and "java" yields "ya".
If either string is length 0, use '@' for its missing char.
Stuck? You may find these lessons helpful: