Question: Java language Write a class called StringCode with the following functions. (Do not change these function names or return types, else the tests will fail).

Java language
Write a class called StringCode with the following functions. (Do not change these function names or return types, else the tests will fail). public static String blowup(String str) Returns a version of the original string as follows: each digit 0-9 that appears in the original string is replaced by that many occurrences of the character to the right of the digit. So the string "a3tx2z" yields "attttxzzz", and "12x" yields "2xxx". A digit not followed by a character (i.e. at the end of the string) is replaced by nothing.(Keep the digit as is)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
