0

how to output an array without brackets and commas?I try with "replace", but its work only with brackets.

I search answer in Google, and find method replace, but he work only with one : brackets or commas, not together. https://code.sololearn.com/c4crudAd7exR/?ref=app

3rd Mar 2020, 3:22 AM
Эмиль Маннапов
Эмиль Маннапов - avatar
3 Answers
+ 3
Do this outside the for loop. Also remove the last if statement. for(String n:arr) System.out.print(n+" ");
3rd Mar 2020, 4:01 AM
Avinesh
Avinesh - avatar
0
Task: Take a phrase and replace any instances of an integer from 0-10 and replace it with the English word that corresponds to that integer
3rd Mar 2020, 3:23 AM
Эмиль Маннапов
Эмиль Маннапов - avatar
0
Thanks)
3rd Mar 2020, 8:18 AM
Эмиль Маннапов
Эмиль Маннапов - avatar