Exam (elaborations)
Java Interview; Questions and Answers 100% Pass
- Course
- Institution
Java Interview; Questions and Answers 100% Pass How to delete a character in a String Correct answer-Because Strings in Java are immutable. You'll have to create a new string removing the character you don't want. String newstr = ring(0, idx) + ring(idx + 1); public String removeChar(String ...
[Show more]