Answer the following statements true (T) or false (F)

1. Polymorphism is used extensively in commercial programming.
2. A method in a subclass can invoke a method in its base class.
3. A single method can return values that are of different data types.
4. A single method invocation may contain constants or variables, but not both.
5. No objects can be created of a base class that is an abstract class.


1. True
2. True
3. False
4. False
5. True

Computer Science & Information Technology

You might also like to view...

Answer the following statement(s) true (T) or false (F)

1. It is important to plan out every aspect of the various components, their timing, and their actions and not leave any developments open as you work through the project. 2. From the very beginning, you should be concerned about how you are going to achieve every aspect of the animation. 3. Animating with Flash is part science and part art. 4. You should import bitmaps and convert drawn shapes and objects so that they are available in the library before you start to animate. 5. You can slow down an animation by distributing keyframes across the stage.

Computer Science & Information Technology

What kind of screen allows users to take the most advantage of the desktop's ability to display multiple application windows?

A. small screens B. large screens C. tablet screens D. smart screens

Computer Science & Information Technology

Which of the following statements is correct?

A. Case structures are ideal for traversing two-dimensional arrays. B. Nested For loops are ideal for traversing two-dimensional arrays. C. Do while loops are ideal for traversing two-dimensional arrays. D. Nested For loops are ideal for traversing one-dimensional arrays.

Computer Science & Information Technology

The Internet has its roots in a networking project started by an agency of the U.S. Department of Defense.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology