Suppose Stack is a generic class that has one type parameter. The assignment

Stack integerStack = new Stack(10);

a. is illegal.
b. is permitted and safe.
c. is permitted but unsafe, the compiler issues a warning message.
d. is permitted but unsafe, the runtime environment issues a warning message.


c. is permitted but unsafe, the compiler issues a warning message.

Computer Science & Information Technology

You might also like to view...

A __________ is a container for menus.

a) keyboard event b) menu bar c) separator bar d) menu item

Computer Science & Information Technology

To save your document as a single page web file, use the ________ extension

A) HTTP B) RTF C) M HTML D) HTML

Computer Science & Information Technology

The process of sending a received message to someone else is called:

A) replying B) forwarding C) returning D) outgoing

Computer Science & Information Technology

A form's ____ property specifies the text that appears in the form's title bar.

A. Caption B. Label C. Text D. Values

Computer Science & Information Technology