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

1) An interface cannot declare any instance variables.
2) Establishing the relationship between a listener and the component it listens to is accomplished using polymorphism.
3) A reference variable can refer to an object of a child class, but not any further down the inheritance hierarchy.
4) Polymorphism via inheritance requires that all classes in the inheritance hierarchy are concrete.
5) An interface name may be used as a reference type.


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

Computer Science & Information Technology

You might also like to view...

Locking the controls on a form prevents them from being moved inadvertently as you work in the IDE.

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

Computer Science & Information Technology

If the cell references should not be modified when moved to a new location, you should use a(n) relative reference.

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

Computer Science & Information Technology

The other important difference in style values is that the ____ extension separates horizontal and vertical radii with a space rather than a slash.

A. Mozilla B. CSS3 C. WebKit D. Internet Explorer

Computer Science & Information Technology

IPv6 uses eight 8-bit fields, each of which can be expressed as a hexadecimal number followed by a colon.

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

Computer Science & Information Technology