Cho class như sau:java1: public interface Comparable { 2: int compareTo(Employee other);3: }4: class Main { 5: Comparable x;6: x = new Employee(); 7: System.out.print(x);8: }Chương trình trên
Giải thích
Chọn đáp án D (Giả sử lớp Employee đã được định nghĩa và implements Comparable)