目录前言一、泛型(Generic):编译时的类型安全保障1.1 泛型的核心作用1.2 泛型的基本用法1.2.1 泛型类与泛型接口1.2.2 泛型方法1.2.3 类型通配符(Wildcard)1.3 泛型的局限二、反射(Reflection):运行时的类信息
I am trying to print the stack trace of the exception. However, for negative test case, only the unexpected exception is printed.