Interface Admin
Interface Admin
// Instance variables
String name;
String faculty_id;
this.name = name;
this.faculty_id = faculty_id;
void display() {
super(name, faculty_id);
}
public void select_cr(int year, String section) {
System.out.println("CR selected for Year: " + year + ", Section: " + section);
@Override
hod.display();
hod.teach(3);
hod.select_cr(2, "B");