Question: Write a method that turns some text into something Porky Pig would say. To do that, you just need to add Bdap bdap bb
Write a method that turns some text into something Porky Pig would say. To do that, you just need to add "Bdap bdap bb " to before the given text. For example, if you called porkyPig("that's all folks!"), it would return "Bdap bdap bb that's all folks!" The method signature should be public String porky Pig(String something)
Step by Step Solution
3.48 Rating (165 Votes )
There are 3 Steps involved in it
Certainly Heres a method that takes some text as input and transforms it into somet... View full answer
Get step-by-step solutions from verified subject matter experts
