Upper Bounded Wildcard Type QuizS2C Home « Upper Bounded Wildcard Type Quiz
Generics Quiz 7
The quiz below tests your knowledge of the material learnt in Generics - Lesson 7 - Upper Bounded Wildcard Type.
Question 1 : If we had a scenario where we only want a method to work on a particular class or subclasses of it which generic type would we use?
- If we had a scenario where we only want a method to work on a particular class or subclasses of it we would use the generic <i>upper bounded wildcard type</i> type.
Quiz Progress Bar
Quiz 1
Generic Basics
Quiz 2
Raw/Generic Type
Quiz 3
Generic Interfaces
Quiz 4
Generic Classes
Quiz 5
Bounded Type
Quiz 6
Unbounded Wildcard Type
Quiz 8
Lower Bounded Wildcard Type
Quiz 9
Generic Methods
Quiz 10
Generic Constructors
What's Next?
In the next quiz we test your knowledge of generic methods.