JavaPatternMatching/examples/achim/Types.jav

31 lines
279 B
Plaintext
Raw Normal View History

2013-10-18 11:33:46 +00:00
class Types{
test(b, c, d, f, i, l, s){
b;
b2;
c;
d;
f;
i;
l;
s;
b = true;
if(b){
b=false;
}
if(true)
b2 = b;
i = 65;
c = 'a';
f = i/2;
d = "hallo";
s = -3;
l = d.substring(2,1);
boolean bo;
char c;
int i;
return i;
}
}