Note that the types must match exactly. Otherwise, you will get a compile-time error. For example: Myclass<String, Integer> obj = new Myclass<String, String> ...
確定! 回上一頁