26 lines
250 B
Java
Executable File
26 lines
250 B
Java
Executable File
import java.util.Vector;
|
|
|
|
public class Boxing {
|
|
|
|
public BoxingTest() {
|
|
a;
|
|
a= new Integer(12);
|
|
|
|
v;
|
|
v = new Vector<Integer>();
|
|
|
|
|
|
v.addElement(a);
|
|
|
|
b;
|
|
b = 0;
|
|
|
|
c;
|
|
|
|
c = v.elementAt(b);
|
|
|
|
v.addElement(c);
|
|
|
|
return v;
|
|
}
|
|
} |