Question: java language Muk Write a method that takes one array list of integers as input and returns a string. The string chas the same content
Muk Write a method that takes one array list of integers as input and returns a string. The string chas the same content as the array list but with % between any two odd numbers Example: Input: 13,5,4,7,9,11 Return: "39547%9%1" Input:[1,2,8,5,9,11) Return: "1285%9$11" Input: 0 Retrun: Note: You should not use Built-in functions in your answer such as ArrayList.contains() and ArrayList.indexOf
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
