Environment setup
How Java works
Types and Variables
Arrays
Basic IO
Control Flow
Packages
OOP in Java
Static Members
Practice
Assignment
Back end Track
Under construction
<aside>
🚧
This page is currently under construction. Please check back later.
</aside>
Implementation plan:
Note: Intro to classes is covered in the Core program Week 11 - Classes and objects
- Defining a class in Java: fields and methods
- Creating objects with
new
- Constructors: default constructor
- Parameterized constructors
- Multiple constructors (constructor overloading)
- The
this keyword — referencing current instance
- Calling methods on objects
- Access modifiers:
public, private, protected, package-private (default)
- Making fields
private
- Writing getter methods
- Writing setter methods with validation
- The convention: field naming, getter/setter naming
- Encapsulation as a design principle — what to expose, what to hide
The HackYourFuture curriculum is licensed under CC BY-NC-SA 4.0

*https://hackyourfuture.net/*
Found a mistake or have a suggestion? Let us know in the feedback form.