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

1) Consider a reference declared in the following manner.
```
Animal a;
```
This reference may only point to an object that created by instantiating the Animal class.
2) Let Animal be an interface. Then it is possible to create an object by instantiating the Animal interface.
3) The compareTo method of the Comparable interface returns a boolean value.
4) Compile-time binding is more efficient than dynamic binding
5) A parameter to a method can be polymorphic.


1) F
2) F
3) F
4) T
5) T

Computer Science & Information Technology

You might also like to view...

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

1. Most of the lines in a program contain something meaningful; however, some of the lines may contain nothing at all. 2. Before a computer can execute a program written in a high level language, such as C++, it must be translated into object code. 3. Once a value has been stored in a variable it cannot be changed. 4. The purpose of the compiler is to convert object code into source code. 5. If a new value is stored in a variable, it replaces whatever value was previously there.

Computer Science & Information Technology

Provide an explanation of why Read Mode would be used and how it differs from Print Layout view.

What will be an ideal response?

Computer Science & Information Technology

The transformation and registration points can overlap-this is displayed as a plus sign within a circle ?.??

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

Computer Science & Information Technology

Replace a cell's contents by clicking in the cell to make it active and then

Computer Science & Information Technology