Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Treehouse

Java Objects Course (How To)

via Treehouse

Overview

Java is an Object Oriented Programming language. Literally everything you interact with is an object, so understanding them is critical to your Java foundational base.

In this course, we will learn how to create, use and express ideas using objects.

Syllabus

Meet Objects

Learn how to create, model and use objects.

Chevron 12 steps
  • Welcome Back

    8:23

  • Refresher

    5 questions

  • Creating Classes

    9:58

  • Create a class and field

    2 objectives

  • Access Level Modifiers

    3:55

  • Access Modifiers

    1 objective

  • Methods

    6:58

  • Add a Getter

    1 objective

  • Constructors

    8:00

  • Add a Constructor

    3 objectives

  • Final

    6:07

  • Final

    3 questions

Harnessing the Power of Objects

Let's delve deeper into objects! Learn about ways to default values using method signatures. Use constants to express globally common state. Create exceptions to let callers know when they've misused your object

Chevron 13 steps
  • Constants

    7:23

  • Add a Constant

    1 objective

  • Filling the Dispenser

    7:17

  • Changing State

    2 objectives

  • Abstraction at Play

    8:34

  • Computed Properties

    2 objectives

  • Incrementing and Decrementing

    8:28

  • Increment and Decrement

    3 objectives

  • Method Overloading

    8:00

  • Overload Methods

    2 objectives

  • Exceptions

    7:50

  • Throwing Exceptions

    1 objective

  • Handling Exceptions

    1 objective

Reviews

Start your review of Java Objects Course (How To)

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.