Bounded Type QuizJ8 Home « Bounded Type 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 6 questions |
Lesson 3 - Generic Interfaces | In this lesson we look at generic interfaces and how to apply them in our Java code. | Quiz3 6 questions |
Lesson 4 - Generic Classes | This lesson is about generic classes. | Quiz4 6 questions |
Lesson 5 - Bounded Type | In this lesson on Java generics we investigate invariance and Bounded Type. | This quiz. 7 questions |
Lesson 6 - Unbounded Wildcard Type | In this lesson we learn about generic Unbounded Wildcard Type. | Quiz6 6 questions |
Lesson 7 - Upper Bounded Wildcard Type | This lesson on generics is about upper bounded wildcard types. | Quiz7 6 questions |
Lesson 8 - Lower Bounded Wildcard Type | This lesson on generics is about lower bounded wildcard types. | Quiz8 6 questions |
Lesson 9 - Generic Methods | This lesson is about generic methods. | Quiz9 6 questions |
Lesson 10 - Generic Constructors | In our final lesson on generics we look at generic constructors. | Quiz10 7 questions |
Generics Quiz 5
The quiz below tests your knowledge of the material learnt in Generics - Lesson 5 - Bounded Type.
Question 1 : How does the diamond operator work ?
- The diamond operator works through <i>inference</i>.
Quiz Progress Bar
What's Next?
In the next quiz we test your knowledge of Unbounded Wildcard Type.