When all of a superclass's subclasses need a method, but each needs a different behavior from that method, the superclass should declare the method as a(n) ____ method.

A. static
B. private
C. class
D. abstract

Answer: D

Computer Science & Information Technology

You might also like to view...

ALL of the following statements are true about worksheets EXCEPT:

A) Sheet tabs can be moved into any desired order. B) You can add new worksheets to accommodate new information. C) A new blank worksheet is inserted with a unique name. D) While dragging a worksheet tab to a new position, a green checkmark indicates where the worksheet will be placed.

Computer Science & Information Technology

What is the relationship between Word and HTML?

A) The Word program is written in HTML code. B) The Word program uses HTML code. C) The majority of Word templates include HTML code. D) When saved as web pages, documents created in Word generate HTML code.

Computer Science & Information Technology