Complete the boolean
function endsWithStartsWith
that takes two String
arguments and returns true
if and
only if the last character of the first is the first character of the second.
If either String
is null
or empty, you should return false
.
Stuck? You may find these lessons helpful: