Explain what it means for a child class to override a method in a parent class. Why might this be useful?
What will be an ideal response?
A child class overrides a method that is inherited from a parent class by redefining it in the subclass. This is
useful because a subclass may have a slightly different behavior than the superclass, but the behavior still has the same name.
Overriding methods allows for this flexibility.
You might also like to view...
Match the following terms to their meanings:
I. spreadsheet II. Title bar III. worksheet IV. workbook V. Ribbon A. electronic file that contains a grid of columns and rows B. contains file name and software name C. commands organized into groups D. file containing related worksheets E. spreadsheet that contains formulas, functions, values, etc.
What file extension do Nine-Patch Stretchable Graphics use?
a. JPEG b. GIF c. PNG d. IMG