abstract class University { public String mystate; public String myname; public University(String state, String name) { mystate=state; myname=name; } public abstract void description(); } class College extends University { public String teaches; College(String _mylocat, String _name, String _teaches) { super(_mylocat,_name); teaches = _teaches; } //the override public void description() { System.out.println("It is called " + myname); System.out.println(myname + " is located in " + mystate); System.out.println(myname + " teaches " + teaches); } }