1 2 3 4 5 6 7
import java.util.*; class Test { void method(List<Number> p1, Number p2){ p1.add(p2); } }