Advanced Features in Java: Getting Started with Java Collections


Overview/Description
Expected Duration
Lesson Objectives
Course Number
Expertise Level



Overview/Description

In this course, you'll be introduced to Java collections and explore the details of how the Lists part of the Collections framework works. You'll start by learning how arrays are a rudimentary form of containers with some similarities to ArrayLists. Next, you'll explore the limitations of arrays, namely their fixed length and limited API support. You'll then move on to ArrayLists and explore how ArrayLists mitigate the weaknesses of arrays while still retaining their advantages. You'll learn how to instantiate an ArrayList and iterate over it using while loops, ordinary for-loops, and enhanced for-loops. Finally, you'll examine how to access and modify specific elements in an ArrayList.



Expected Duration (hours)
1.1

Lesson Objectives

Advanced Features in Java: Getting Started with Java Collections

  • discover the key concepts covered in this course
  • construct arrays to contain objects of various types
  • describe the two limitations of an array
  • describes the is-a relationship of an ArrayList with Collection, Iterable, and List
  • describe how an ArrayList is ordered and allows duplicates
  • recognize individual the methods from the collection interface
  • recognize how the Iterable and Iterator interfaces can be accessed using loops to avoid run-time errors from going over the limits of a list
  • recognize how the .get method can be used to access individual elements of a list
  • summarize the key concepts covered in this course
  • Course Number:
    it_jdadfjdj_01_enus

    Expertise Level
    Intermediate