JavaTXCompilerInJavaTX/examples/scju/Boxing.jav

26 lines
269 B
Java
Executable File

import de.dhbwstuttgart.typeinference.Menge;
public class Boxing {
public BoxingTest() {
a;
a= new Integer(12);
v;
v = new Menge<Integer>();
v.addElement(a);
b;
b = 0;
c;
c = v.elementAt(b);
v.addElement(c);
return v;
}
}