This commit is contained in:
Dmitry Jemerov
2009-09-11 17:54:01 +04:00
parent 7b8e590baf
commit bc94b5f3ff
17 changed files with 8 additions and 17 deletions
@@ -0,0 +1,14 @@
class A {
int newFieldName;
int method(int newFieldName) {
if(newFieldName == 0) {
return this.newFieldName;
}
else {
int newFieldName = this.newFieldName;
return this.newFieldName + newFieldName;
}
}
}