31 lines
358 B
Plaintext
31 lines
358 B
Plaintext
class Overloading {
|
|
|
|
Overloading(){
|
|
super(());
|
|
}
|
|
TPH N test(TPH O x){
|
|
return x.methode Signature: [TPH P]();
|
|
}
|
|
|
|
TPH T methode(){
|
|
return Overloading;
|
|
}
|
|
|
|
Overloading(){
|
|
super(());
|
|
}
|
|
|
|
}class Overloading2 {
|
|
|
|
Overloading2(){
|
|
super(());
|
|
}
|
|
TPH AO methode(){
|
|
return Overloading2;
|
|
}
|
|
|
|
Overloading2(){
|
|
super(());
|
|
}
|
|
|
|
} |