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
- Potassium hydroxide, 50 mL, is titrated with 125 mL of 0.20 M sulfuric acid. What is the molarity of the potassium hydroxide?
- February 1, 2016, Alpha Company purchased land for the future factory location at a cost of $50,000. The dilapidated building that was on the property was
- Krell Industries has a share price of $ 22.71 today. If Krell is expected to pay a dividend of $ 1.17 this year and its stock price is expected to grow to $