如上图所示
走同样的路,发现不同的人生
This should be a syntax issue, and it has nothing to do with generics
can only be written as class name.class, which is the syntax agreed by java
Because Java’s generics are pseudo-generic, you need to use Map.class
Map.class
This is the basic syntax of java
**
获取当前对象的三种方式: 1.类名.calss 2.Class.forName("类的完整路径"); 3.对象.getClass()
This should be a syntax issue, and it has nothing to do with generics
Because Java’s generics are pseudo-generic, you need to use
Map.class
This is the basic syntax of java
**
**