Java Objects Course (How To)
Offered By: Treehouse
Course Description
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
Creating the MVP
We will use the new skills you just gained to create a Minimum Viable Product or MVP for the classic word game Hangman. Let's walk talk through some common development practices you will most likely encounter.
Chevron 12 steps-
Planning the MVP
4:54
-
Review Creating the MVP
3 questions
-
Getting Started
4:36
-
Review Separation of Concerns
2 questions
-
Storing Guesses
9:45
-
Scrabble Tiles
2 objectives
-
Prompting for Guesses
9:19
-
Conference Registration Assistant
1 objective
-
Current Progress
8:22
-
Counting Scrabble Tiles
2 objectives
-
Remaining Tries
7:04
-
Remaining Characters
2 objectives
Delivering the MVP
Let's wrap up the remaining tasks required to get our Hangman app out the door. Let's add some validation!
Chevron 10 steps-
Exceptions
8:16
-
Validating and Normalizing User Input
13:17
-
Applying a Discount Code
2 objectives
-
Using Method Overloading
4:21
-
Determining If the Game is Won
8:09
-
Dunk tank
1 question
-
Arrays and Command Line Arguments
5:34
-
Wrapping Up
1:16
-
Forum
4 objectives
-
Review Arrays
4 questions
Related Courses
Introduction à la programmation orientée objet (en Java)École Polytechnique Fédérale de Lausanne via Coursera C++ For C Programmers, Part A
University of California, Santa Cruz via Coursera Introduction to Programming for Musicians and Digital Artists
California Institute of the Arts via Coursera Beginning Game Programming with C#
University of Colorado System via Coursera Paradigms of Computer Programming
Université catholique de Louvain via edX