Ask Question

Name:
Title:
Your Question:

Answer Question

Name:
Your Answer:
User Submitted Source Code!


Description:
  stringReplaceAllTest01
Language: JAVA
Code:
public class ie9XVT9C {

    public static void main(String[] args) {
     String s = "a + b + 3";
     s = s.replaceAll("a", "1");
        s = s.replaceAll("b", "2");
        System.out.println(s);
    }

}          
Comments: