Originally posted by shri mon:
Integer i1 = 1;
Will this line compile?
Originally posted by Nicholas Cheung:
Please note that this mock exam is for Tiger, not for previous versions.
type Enum does not take parameters
Enum types . Enum types cannot have type parameters. Conceptually, an enum type and its enum values are static. Since type parameters cannot be used in any static context, the parameterization of an enum type would be pointless.