import java.util.*; public class FunWithGenerics { //note that Integer extends Number public static void f0(Collection a){} public static void f1(Collection a){} public static void f2(Collection arr){} public static void f3(Collection arr){} public static > void f4(Collection a){} public static void main(String[] args) { /* //when uncommented, which of the following calls will be valid? Collection comCol=new ArrayList(); f0(comCol); f1(comCol); f2(comCol); f3(comCol); f4(comCol); */ /* Collection objCol=new ArrayList(); f0(objCol); f1(objCol); f2(objCol); f3(objCol); f4(objCol); */ /* Collection numCol=new ArrayList(); f0(numCol); f1(numCol); f2(numCol); f3(numCol); f4(numCol); */ /* Collection intCol=new ArrayList(); f0(intCol); f1(intCol); f2(intCol); f3(intCol); f4(intCol); */ /* Collection strCol=new ArrayList(); f0(strCol); f1(strCol); f2(strCol); f3(strCol); f4(strCol); */ } }