Day 8. Data Structures

During the first week, you learned about the core elements of the Java language: objects, classes, and interfaces, along with the keywords, statements, expressions, and operators they contain.

For the second week, the focus shifts from the classes you create to the ones that have been created for you. The Java Class Library is a set of standard packages from Oracle that has more than 4,200 classes you can use in your own Java programs.

Today, you start with classes that represent data.

The following data structures are covered:

Image Bit sets, which hold Boolean values

Array lists, arrays that can grow and shrink in size

Stacks, ...

Get Sams Teach Yourself Java™ in 21 Days (Covering Java 8), Seventh 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.