Skip to Content
Core Java, Volume I Fundamentals, 11th Edition
book

Core Java, Volume I Fundamentals, 11th Edition

by Cay S.Horstmann
May 2018
Intermediate to advanced
928 pages
25h 27m
English
Pearson
Content preview from Core Java, Volume I Fundamentals, 11th Edition

Chapter 8Generic Programming

Generic classes and methods have type parameters. This allows them to describe precisely what should happen when they are instantiated with specific types. Prior to generic classes, programmers had to use the Object for writing code that works with multiple types. This was both cumbersome and unsafe.

With the introduction of generics, Java has an expressive type system that allows designers to describe in detail how types of ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Core Java, Volume I: Fundamentals, 12th Edition

Core Java, Volume I: Fundamentals, 12th Edition

Cay S. Horstmann
Java Fundamentals

Java Fundamentals

Matt Thornfield

Publisher Resources

ISBN: 9780135167199