Question 1
Which wildcard allows reading but not writing?
>
extends T>
super T>
Question 2
What does super T> mean?
Unknown subtype of T
T or its superclass
T or subclass only
Superclass only
Question 3
What is the benefit of bounded type parameters in generics?
Restricts the types that can be used
Allows type erasure
Reduces performance
Prevents compilation
Question 4
Which of the following defines a bounded type parameter?
Question 5
What is the use of > in generics?
Denotes specific type
Denotes any type
Denotes null
Denotes static type
Question 6
Can a generic interface be created in Java?
No
Yes, using
Only with class
Only abstract interfaces
There are 6 questions to complete.