12 lines
287 B
Plaintext
12 lines
287 B
Plaintext
|
import java.util.Vector;
|
||
|
import java.lang.Comparable;
|
||
|
|
||
|
public class ClassGenerics<typ1 extends Vector & Comparable, typ2> extends Vector<String> implements Comparable<String>{
|
||
|
public typ1 variable1;
|
||
|
protected typ2 variable2;
|
||
|
|
||
|
public Integer compareTo(String s) {
|
||
|
return null;
|
||
|
}
|
||
|
|
||
|
}
|