a constructor that accepts a String corresponding to the name of the school the student attends
a toString method that returns 'student at X' where X is the name of the school the student attends.
write a class definitions for the subclass HighSchoolStudent containing:
a constructor accepting a String which is used as a parameter to the superclass constructor
a toString method that returns 'high school student at X'. THis method must use the toString method of its superclass.
Recently Asked Questions
- Please refer to the attachment to answer this question. This question was created from Model1.
- Watch either a War film made in the last 25 years or a Neo Noir film from the list, Neo Nior Films 1982 - 1999.pdf . (It cannot be your favorite movie.) If
- What mean to Prompt the user to enter a URL string ?