8 lines
168 B
Java
8 lines
168 B
Java
// generics/ComparablePet.java
|
|
|
|
public class ComparablePet
|
|
implements Comparable<ComparablePet> {
|
|
@Override
|
|
public int compareTo(ComparablePet arg) { return 0; }
|
|
}
|