Question: Question Found on codingbat.com/java : Section: String 1 Excercise: makeAbba Given two strings, a and b, return the result of putting them together in the
Question Found on codingbat.com/java :
Section: String 1
Excercise: makeAbba
Given two strings, a and b, return the result of putting them together in the order abba, e.g. "Hi" and "Bye" returns "HiByeByeHi".
makeAbba("Hi", "Bye") "HiByeByeHi" makeAbba("Yo", "Alice") "YoAliceAliceYo" makeAbba("What", "Up") "WhatUpUpWhat"
Asks student to type out code. Do not use System.print, use return instead.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
