Images

6

Generics and Collections

CERTIFICATION OBJECTIVES

•       Override hashCode, equals, and toString Methods from Object Class

•       Create and Use a Generic Class

•       Create and Use ArrayList, TreeSet, TreeMap, and ArrayDeque Objects

•       Use java.util.Comparator and java.lang.Comparable Interfaces

•       Create and Use Lambda Expressions

Images    Two-Minute Drill

Q&A  Self Test

Generics were the most talked about feature of Java 5. Some people love ‘em, some people hate ‘em, but they’re here to stay. At their simplest, they can help make ...

Get OCP Java SE 8 Programmer II Exam Guide (Exam 1Z0-809), 7th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.