8 lines
99 B
Java
Executable File
8 lines
99 B
Java
Executable File
class OverloadingSameSignatureGenerics{
|
|
<T> T foo(T a){
|
|
return a;
|
|
}
|
|
<T> void foo(T a){
|
|
}
|
|
|
|
} |