Solved

What Is the Result When a Program Constructs a Generic

Question 59

Multiple Choice

What is the result when a program constructs a generic class without passing a type variable, as in the following code? Stack stack = new Stack() ;
I the program will compile and run
II the compiler will issue an error
III the compiler will issue a warning


A) I
B) II
C) III
D) I and III

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions