2020-05-05 18:06:05 +02:00
|
|
|
import java.util.Vector;
|
|
|
|
import java.util.Stack;
|
|
|
|
|
|
|
|
public class Put {
|
|
|
|
|
2024-03-14 14:37:55 +01:00
|
|
|
public putElement(ele, v) {
|
2020-05-05 18:06:05 +02:00
|
|
|
v.addElement(ele);
|
|
|
|
}
|
|
|
|
|
2024-03-14 14:37:55 +01:00
|
|
|
public putElement(ele, s) {
|
2020-05-05 18:06:05 +02:00
|
|
|
s.push(ele);
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2024-03-14 14:37:55 +01:00
|
|
|
public main(ele, x) {
|
2020-05-05 18:06:05 +02:00
|
|
|
putElement(ele, x);
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|