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 


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

1 Expert Approved Answer
Step: 1 Unlock

Certainly Heres a method that takes some text as input and transforms it into somet... View full answer

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 Programming Questions!