5910 Breckenridge Pkwy Suite B, Tampa, FL. 33610
(800) 272-0707

SkillSoft Explore Course

IT Professional Curricula     Software Development Solution Area     Java 2 Programming     Parameterize Types Using Generics
In Java, bounded type parameters and wildcards offer certain flexibility and disadvantages. Recognizing these will help you decide when and how to use these tools to your advantage when writing code.
Use this course to get to grips with what's meant by unbounded and bounded type parameters, explore the use of wildcards in Java, and recognize the applications of unbounded, upper-bounded, and lower-bounded wildcards. As you advance, investigate what's meant by 'wildcard capture' and 'type erasure.'
When you're finished, you'll be able to correctly identify scenarios for using bounded type parameters and wildcards and implement them correctly.

Objectives

Generics in Java: Bounded Type Parameters & Wildcards

  • discover the key concepts covered in this course
  • recall the disadvantages of unbounded type parameters
  • constrain types using bounded type parameters
  • specify type parameters with interface bounds
  • use bounded type parameters with custom objects
  • use multiple bounds with type parameters
  • use upper-bounded wildcards
  • compare and contrast upper-bounded wildcards and bounded type parameters
  • recall when and how you would use unbounded wildcards
  • use unbounded wildcards
  • use lower-bounded wildcards
  • recall how Java infers data types using wildcard capture
  • recall the structure of valid type parameter names
  • recall how the Java compiler uses type erasure with generic types
  • summarize the key concepts covered in this course