This is the beginning of the Java class. In here you will get started with writing your first Java code!
Get an overview of Java in this lesson including the syntax and how to leave single and multi-line comments.
Variables and constants hold data. Learn how to declare, initialize, and reassign them in Java.
Learn about how to do arithmetic and work with the basic math operators provided by Java
Logic and conditionals are a fundamental part of programming and is how your program can make decisions.
Learn how to shorten your code by utilizing loops like for loops, while loops, and do while loops.
Methods in Java allow you to reuse a code block and reduce code repetition which ensures cleaner and more modular code.
Arrays are a list of data in Java. In this lesson, learn how to create, add elements to, remove elements from, and iterate over arrays.
Enums in Java are a group of constants that you can define. Learn how to define them, get their value, and iterate over them.
Java is an object-oriented programming language and because of this, classes and objects are a fundamental feature of the language.
Creating a new object creates a new instance of that class. Learn about what that means, including the different access modifiers.
Encapsulation is the principle of wrapping data inside an object to protect it from unwanted accesses or manipulation.
Inheritance is the mechanism in which a class is able to access all of the properties and methods of a parent class.
Polymorphism is the concept that objects can take many forms, particularly when it is extending from a parent class.
Abstract classes are classes in Java that contain abstract methods and let children classes provide the implementation.
Java interfaces are templates for classes to achieve abstraction and polymorphism similar to abstract classes.
Packages are the namespace conventions that Java follows to avoid naming collisions and organize files.
The Collections framework in Java defines numerous different data structures in which you can store, group, and retrieve objects.
Learn how to express dates and moments in time using Java's built-in date and time functionality.
Learn how to work with the file system in Java including how to open, read, write, and close a file.
Learn how to use regular expressions search patterns to match text and do advanced find and replace operations.
Learn how to gracefully handle and recover from exceptions when they arise in your code.
This lesson is the last lesson of the class on Java and serves as the conclusion of the class.