JavaTXCompilerInJavaTX/examples/scju/ClassGenerics.jav

12 lines
305 B
Java
Executable File

import de.dhbwstuttgart.typeinference.Menge;
import java.lang.Comparable;
public class ClassGenerics<typ1 extends Menge & Comparable, typ2> extends Menge<String> implements Comparable<String>{
public typ1 variable1;
protected typ2 variable2;
public Integer compareTo(String s) {
return null;
}
}