Learn Java
- Introducing Java
- Numeric variables & operations
- String variables & operations
- Converting data types
- Comparing values
- Selection ("if")
- Iteration ("while", "for")
- Functions
- Arrays
- Classes & object orientation
- Dates and times
- Exceptions
- Array Lists
I also have a helpful reference summary that you can refer to as a prompt/reminder for the various syntax and functions for basic Java.
Java: Beyond the basics
This section is mostly consisting of sample "code recipes" of how to perform common tasks that are quite commonly used in projects. It is not intended to "teach" the concept but give you enough pointers to remind you how to do something or help get you started with it, along with some links to resources where you can find more information.
- Android apps
- Camera : Capture photos, video with attached webcam
- Databases
- Files and folders
- GUIs with Swing
- Hashmaps
- JSON : org.json library
- Linked lists : note java.util.LinkedList is not compliant to an actual LinkedList data structure
- PDF creation
- Raspberry Pi GPIO & camera
- Text to speech
- Web requests
- Web servers
- 20 Useful open source libraries
Tips:
- Importing a JAR into an IntelliJ project: File / Project Structure / Modules / Dependencies / Add icon
Other resources
Online exercises
Software
- Java online with Repl
- Leetcode online Java IDE
- Blue J
- Greenfoot
- Processing (guide to convert Processing into regular Java app)
- IntelliJ IDEA
- Android studio
Author
(C) Paul Baumgarten 2019