Examlex

Solved

Generics Limit Java Code Somewhat

question 65

Multiple Choice

Generics limit Java code somewhat. Which of the following are considered limitations of generic code?
I cannot have an array of a generic type
II cannot have primitive type variables
III cannot construct an object of a generic type


Definitions:

Addison Disease

A disorder in which the adrenal glands don't produce sufficient steroid hormones.

Secretion

The process by which substances are produced and discharged from a cell or gland for a particular function in the organism or for excretion.

Antidiuretic Hormone

A hormone produced by the pituitary gland that regulates water balance by reducing urine production.

Vasopressin

A hormone produced by the hypothalamus and stored in the pituitary gland, regulating water retention in the body.

Related Questions