Learning Java by Example

Go to class
Write Review

Free Online Course: Learning Java by Example provided by LinkedIn Learning is a comprehensive online course, which lasts for 3-4 hours worth of material. The course is taught in English and is free of charge. Upon completion of the course, you can receive an e-certificate from LinkedIn Learning. Learning Java by Example is taught by Julian Robichaux.

Overview
  • The best way to learn is to do: Learn Java by doing! Walk through four Java programming challenges with step-by-step solutions.

Syllabus
  • Introduction

    • Welcome
    • What you need to know
    • Using exercise files
    1. Create a Command-Line Application That Searches Text 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
    2. Create a Command-Line Application That Accesses a Database
    • 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
    3. Create a GUI Application That Resizes Images
    • 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
    4. Create a Java API That Searches Stack Overflow
    • 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
    Conclusion
    • Next steps