4

ジェネリック型を使用して、次の項目をどのように読み上げますか?

    1) class Box<T>  
    2) Box<Integer> integerBox  
    3) class Box<T,U>  
    4) <T,U> void doSomething(T t, U u)  

ありがとう

4

1 に答える 1

13
1) class Box<T>                Box of T
2) Box<Integer> integerBox     Box of Integer
3) class Box<T,U>              Box of T,U
4) <T,U> void doSomething(T t, U u)  Just a method which accepts two type parameters T and U

参考文献:

于 2012-11-04T06:05:24.150 に答える