9 lines
95 B
Java
Executable File
9 lines
95 B
Java
Executable File
import java.util.List;
|
|
|
|
class addList {
|
|
addLists(a, b){
|
|
a.add(b.get(0));
|
|
b.add(a.get(0));
|
|
}
|
|
}
|