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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!