Bounded Wildcard Types QuizJ8 Home « Bounded Wildcard Types Quiz
The questions in this quiz on Java are on the topics covered in the Generics section of the site. The table below lists the lesson used for each quiz, a description of the lesson content and the quiz number and questions associated with that lesson.
Lesson Summary
Click on a lesson in the table to go to that lesson for a refresher on the topics for that quiz.
Click on a quiz in the table to go straight to the quiz for a particular lesson.
Generics Lessons | Description | Quiz Info. |
---|---|---|
Lesson 1 - Generic Basics | In our first lesson on on generics we unravel the terminology behind java generics and look at some of the strange syntax we get when using it. | Quiz1 7 questions |
Lesson 2 - Raw/Generic Type Comparison | In this lesson we compare raw and generic types to see the advantages of using generics. | Quiz2 7 questions |
Lesson 3 - Generic Interfaces | In this lesson we look at generic interfaces and how to apply them in our Java code. | Quiz3 7 questions |
Lesson 4 - Generic Classes | This lesson is about generic classes. | Quiz4 7 questions |
Lesson 5 - Bounded Types | In this lesson on java generics we investigate invariance and bounded types. | Quiz5 7 questions |
Lesson 6 - Unbounded Wildcard Types | In this lesson we learn about generic unbounded wildcard types. | Quiz6 7 questions |
Lesson 7 - Bounded Wildcard Types | This lesson on generics is about bounded wildcard types. | This quiz. 8 questions |
Lesson 8 - Generic Methods | This lesson is about generic methods. | Quiz8 7 questions |
Lesson 9 - Generic Constructors | In for final lesson on generics we look at generic constructors. | Quiz9 7 questions |
Generics Quiz 7
The quiz below tests your knowledge of the material learnt in Generics - Lesson 7 - Bounded Wildcard Types.
Question 8 : What is the following code snippet an example of
<T extends Number>
? - <code>T extends Number</code> is an example of a <i>bounded type</em>.
Quiz Progress Bar
What's Next?
In the next quiz we test your knowledge of generic methods.