administrators Reply Quote

Answer : Explanation : public class Test {    public void replaseSpaces(char[] str, int length) {        int spaceCount = 0, newLength = 0, i = 0;        for(i = 0; i