Java Certified Foundations Associate: Java Arrays & ArrayLists

Java    |    Beginner
  • 14 videos | 57m 55s
  • Includes Assessment
  • Earns a Badge
Rating 4.7 of 92 users Rating 4.7 of 92 users (92)
In Java, sometimes you have to iterate through and process a list of data. In this course, you will learn how Arrays and Arraylist are designed to handle looping through lists of data. First, you will learn about Arrays and the ArrayList class. Next you will learn about the Iterator class and how it can be used to processes list of data. Finally, you will learn about special classes used to store and retrieve lists of data such as the LinkedList class, the HashMap class, and the HashSet class. This course is one of a collection of courses that prepares learners for Oracle's 1Z0-811: Java Certified Foundations Associate certification.

WHAT YOU WILL LEARN

  • Discover the key concepts covered in this course
    Describe arrays and arraylists in java and their differences
    Describe arrays and how they are used within java
    Demonstrate how arrays are used within java
    Describe arraylists and how they are used within java
    Demonstrate how arraylists are used within java
    Describe the iterator class and how it is used within java
  • Describe the linkedlist class and how it is used within java
    Demonstrate how linkedlist class is used within java
    Describe the hashmap class and how it is used within java
    Demonstrate how hashmap class is used within java
    Describe the hashset class and how it is used within java
    Demonstrate how hashset class is used within java
    Summarize the key concepts covered in this course

IN THIS COURSE

  • 1m 27s
    In this video, you’ll learn more about the course and your instructor. You’ll learn how arrays and array lists are designed to handle looping through lists of data. First, you’ll discover arrays and the array lists class. Next, you’ll explore the iterator interface and how it can be used to process lists of data. Finally, you’ll learn about special classes used to store and retrieve lists of data. FREE ACCESS
  • 3m 34s
    In this video, you’ll learn more about Java Arrays and ArrayLists. An array in Java is the container you put values in. It has a fixed length, a fixed number of elements can be put into it, and must be of a single type. If you create an array for integers, you can't put strings in it. When the array is created, the length or size is fixed. It can hold primitive types or objects. FREE ACCESS
  • Locked
    3.  Java Arrays
    5m 21s
    In this video, you’ll learn about Java Arrays and how they're used. First, you’ll look at Array declaration and creation. To declare an Array of integers, you’ll specify the Array with an open and closed bracket along with the type. Onscreen, you’ll see an open and closed bracket, and the name of the Array, myArray. To create an integer array, an int array, you have myArray = new int and then you’ll specify the size. FREE ACCESS
  • Locked
    4.  Programming Java Arrays
    6m 37s
    In this video, you’ll watch a demo on the standard array syntax used within Java. You’ll start inside the typical main function. On the first line inside the function on line 6, you’ll see int [] ages = { 39, 27, 97 } ;. This means you’ll create an array called ages of type int, with three elements initialized to 39, 27, and 97. The double brackets after the int say you’re declaring an array. FREE ACCESS
  • Locked
    5.  Java ArrayList
    5m 14s
    In this video, you’ll important details to keep in mind about ArrayLists and how they're used within Java. ArrayLists are created to hold a single type of element. The ArrayList is parameterized to hold a type of object. ArrayLists are also resizeable. They can grow as needed as more elements are inserted. ArrayLists are part of the java.util package, you’ll import java.util.ArrayList to include them. These are slower than regular arrays, because of added functionality. FREE ACCESS
  • Locked
    6.  Programming Java ArrayList
    4m 36s
    In this video, you’ll watch a demo. You’ll learn how ArrayLists are used within Java. ArrayLists are resizeable array implementations. They provide features you don't get in a conventional array. On line 1, you’ll see the package com.example. You’ll import import java.util.ArrayList, then import java.util.Arrays, import java.util.Collections, and import java.util.List. On line 11, your code begins. FREE ACCESS
  • Locked
    7.  Java Iterator
    3m 33s
    In this video, you’ll watch a demo. You’ll learn about the iterator interface and how it's used within Java collection classes. The Java iterator interface is part of the collection framework in Java. It's used to retrieve elements and step over or traverse them. There are three iterator types. These include the enumeration, the iterator, and list iterator. You’ll also learn more about the hasNext method. FREE ACCESS
  • Locked
    8.  Java LinkedList
    4m 3s
    In this video, you’ll learn about the LinkedList class and how it's used within Java. The LinkedList class is similar to ArrayList. However, it’s used for different types of problems or programming design patterns. LinkedList contains objects of the same type. It's parameterized by a particular type of object and some of the same methods as ArrayList. With LinkedList, it’s easy to add and remove elements to the front or the back of the list. FREE ACCESS
  • Locked
    9.  Programming Java LinkedList
    6m 1s
    In this video, you’ll watch a demo on how the LinkedList class is used within Java. Onscreen, you’ll see a file, Main.java, which is in the package com.example. You’ll see an import, java.util.LinkedList. This is a member of the Java collections framework. It's a type of collection or container of elements that can be used as a stack, list, or queue data structure. It's implemented as a doubly-linked list, with forward and backward iterators. FREE ACCESS
  • Locked
    10.  Java HashMap
    4m 25s
    In this video, you’ll learn about Java's HashMap class. A HashMap stores elements in key/value pairs like an associative array, where the key identifies the value. Instead of a numeric index, the key is a unique object, or a string is used for a name that indexes the value. Objects are accessible by an index defined by the key. The reason it's called a HashMap is because the key is hashed to find the value. FREE ACCESS
  • Locked
    11.  Programming Java HashMap
    5m 55s
    In this video, you’ll watch a demo on how a HashMap class is used within Java. A HashMap is an associative array type of data structure. It allows for the constant time key base insertion and retrieval of elements. However, the order of the elements is not guaranteed and does not stay constant over time. The basic put and get operations are what HashMap excels at. FREE ACCESS
  • Locked
    12.  Java HashSet
    3m 2s
    In this video, you’ll learn about Java's HashSet Class. The HashSet is a collection of elements. It’s a container that contains unique elements of a particular type, it’s parameterized when you create the object. Duplicate elements are not permitted in a HashSet, so it's a unique collection of elements. If you try to add something that already exists, nothing happens. It also implements the Set interface, which is a member of the Java collections framework. FREE ACCESS
  • Locked
    13.  Programming Java HashSet
    3m 33s
    In this video, you’ll watch a demo on how the HashSet class is used in Java. You’ll see the HashSet provides for fast insertion and removal. It also makes it easy to check the existence of an element in the set. You can also quickly check the size of the set at any given time. However, it's not an appropriate container for ordering nor traversing in a particular order. FREE ACCESS
  • Locked
    14.  Course Summary
    35s
    In this video, you’ll summarize what you’ve learned in the course. You discovered how Arrays and ArrayLists are designed to handle looping through lists of data. You also explored programming Java arrays and ArrayLists, using Java Iterators and LinkedLists, and programming Java HashMap and HashSet. FREE ACCESS

EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE

Skillsoft is providing you the opportunity to earn a digital badge upon successful completion on some of our courses, which can be shared on any social network or business platform.

Digital badges are yours to keep, forever.

YOU MIGHT ALSO LIKE

Rating 4.6 of 213 users Rating 4.6 of 213 users (213)
Rating 4.8 of 59 users Rating 4.8 of 59 users (59)

PEOPLE WHO VIEWED THIS ALSO VIEWED THESE

Rating 4.4 of 253 users Rating 4.4 of 253 users (253)
Rating 4.5 of 160 users Rating 4.5 of 160 users (160)
Rating 4.5 of 187 users Rating 4.5 of 187 users (187)