+ 1

!!! HELP !!!! AM I writing wrong syntax???

Is this a right syntax to add a character in a String in JAVA ..... SUPPOSE THE STRING BE--- String b; And I want to add a blank space at the end.. So can I write.... String m=b+" "; Is it correct,and is there any other way... And what if I want to add a character in between the String. Please help!!! And UPVOTE this question if you found it relevant..

7th Nov 2020, 4:00 PM
Krish
Krish - avatar
1 Respuesta