This commit is contained in:
Dmitry Jemerov
2009-09-10 21:16:49 +04:00
parent db3e3f17de
commit d13d5f3ac8
21 changed files with 16 additions and 4 deletions

View File

@@ -0,0 +1,14 @@
class A {
public static final String string;
public void demo(String val){
if ("test1".equals(val)){
//do somethign
} else {
string = "test2";
if (string.equals(val)) {
//... something else
}
}
}
}