What are abstract methods? Describe the circumstances in which an abstract method would be appropriate.

What will be an ideal response?


An abstract method is one with keyword abstract in its declaration. Abstract meth- ods do not provide implementations. Each concrete subclass of an abstract superclass must provide concrete implementations of the superclass’s abstract methods. An abstract method is appropriate when it does not make sense to provide an implementa- tion for a method in a superclass (i.e., some additional subclass-specific data is required to implement the method in a meaningful manner).

Computer Science & Information Technology

You might also like to view...

____ appear automatically when two or more shapes are in spatial alignment with each other.

A. Drawing guides B. Quick Guides C. Smart Guides D. Shape guides

Computer Science & Information Technology

One of the reasons Excel is such a valuable tool is that you can assign a(n) ____________________ to a cell, and Excel will calculate the result.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

The Shapes gallery can be accessed from the ________ tab

Fill in the blank(s) with correct word

Computer Science & Information Technology

Click the File tab to begin the process of compacting and repairing a database

Indicate whether the statement is true or false

Computer Science & Information Technology