Solution code

abstract class University { public String myState; public String myName; public University (String state, String name) { myState = state; myName = name; } } class College extends University { public String teaches; College (String _mylocat, String _name, String _teaches) { super(_mylocat, _name); teaches = _teaches; } }
Copyright © 2021 Code 4 Tomorrow. All rights reserved. The code in this course is licensed under the MIT License. If you would like to use content from any of our courses, you must obtain our explicit written permission and provide credit. Please contact for inquiries.