Java Arrays Course

Go to class
Write Review

Free Online Course: Java Arrays Course provided by Treehouse is a comprehensive online course, which lasts for 1-2 hours worth of material. The course is taught in English and is free of charge.

Overview
  • Arrays are a container object that allow you store many values of the same type in a single variable

    What you'll learn

    • Creating Arrays
    • Looping
    • Sorting
    • Varargs

Syllabus
  • Creation

    Learn how to declare and initialize arrays

    Chevron 7 steps
    • Meet Arrays

      2:35

    • Declaring Arrays

      4:44

    • Declaration

      2 questions

    • Accessing Items

      5:45

    • Accessing Items

      3 questions

    • Array Literal Shortcut

      3:49

    • Create an array literal

      1 objective

    Iteration

    Learn various ways of iterating over an array in it's entirety

    Chevron 8 steps
    • Enhanced For Loop

      5:14

    • Review Enhanced For Loop

      2 questions

    • Ye Olde Unenhanced For Loop

      13:04

    • Looping Like These Programmers

      1 objective

    • Multidimensional Arrays

      7:25

    • Review Multidimensional Arrays

      2 questions

    • Looping Over 2d Arrays

      8:02

    • Review Looping over 2d arrays

      1 question

    Gotchas and Wins

    Not everything about arrays can be amazing. Let's look at some difficulties you will encounter

    Chevron 7 steps
    • Adding and Removing Items Means Copying

      7:57

    • Why copy?

      2 questions

    • Sorting

      7:21

    • Comparator

      1 question

    • Array Usage in Method Declarations

      9:35

    • i < videos.length

      1:16

    • Wrap up

      3 questions