The best way to learn is to do: Learn Java by doing! Walk through four Java programming challenges with step-by-step solutions.
Overview
Syllabus
Introduction
- Welcome
- What you need to know
- Using exercise files
- Use a main method to get parameters
- Structuring the code
- Get all the files in a directory
- Open and read each file
- Search text using regular expressions
- Use arrays to store the results
- Add an option to zip the results
- Use a properties file to get parameters
- Use JDBC to access a database
- Use Java crypto to decrypt strings
- Use Java logging to report errors
- Package your application in a JAR file
- Use Swing to create a GUI
- Use anonymous classes and lambdas for buttons
- Use Java 2D classes for image manipulation
- Basic Java math
- Image rotation and saving
- Use message boxes and prompts for user interaction
- What is an API?
- Set up the code
- Access webpages using Java.net
- Parse REST calls using JSON-P
- Parse REST calls using Jackson
- Test the API with JUnit
- Final refactoring of classes
- Document the API with Javadoc
- Next steps
Taught by
Julian Robichaux