Question: Write a program in Java. A class Teacher contains two fields, Name and Qualification. Extend the class to Department, it contains Dept. No and Dept.
Step by Step Solution
3.34 Rating (157 Votes )
There are 3 Steps involved in it
import javautilScanner class Teacher protected String Name protected String Quali... View full answer
Get step-by-step solutions from verified subject matter experts
