Question: please write in java Given a String, word, return a String consisting of the String sand followed by word followed by the string wich. wordSandwich(putid)
Given a String, word, return a String consisting of the String "sand" followed by word followed by the string "wich". wordSandwich("putid") "sandputidwich" wordSandwich("self-consciously") "sandself-consciouslywich" wordSandwich("armenia") "sandarmeniawich" Save, Compile, Run (ctri-enter)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
