Programming - Generic Types
You Are Here :: Home > JAVA > Generic Types - General Questions
13. |
Generic type informationn doesnot exist at _____________
|
A. |
compile time |
B.
|
run time |
C.
|
both
|
D.
|
none
|
|
Answer: Option B
Explanation:
For compile time saftey,generic type information does not exist at runtime. |
|
14. |
___________________ assignments applies only to the base type,not the generic type parameter.
|
A. |
Polymorphic |
B.
|
non polymorphic |
C.
|
both
|
D.
|
none
|
|
Answer: Option A
Explanation:
Polymorphic assignments applies only to the base type not the generic type parameter. |
|
15. |
The wildcard keyword extends is used to mean either ________ or __________
|
A. |
extends |
B.
|
implements |
C.
|
extends,implements
|
D.
|
none
|
|
Answer: Option C
Explanation:
The wildcard keyword extends is used to mean either extends or implements. |
|
« prev