
Access the course source code on hub dot com in the Demy classes repository and anticipate future content, including dynamic arrays, for the Java for advanced programs course.
Install the Java development kit and Eclipse by downloading the JDK, selecting the correct 32- or 64-bit Windows, and completing the installer with default options.
Search for Eclipse Luna and download the version for your operating system, choosing Windows 64 bit if applicable. Extract the downloaded zip and run the executable to finish the installation.
Create a Java sorter that uses a dynamic ArrayList<String> to collect an unknown number of user inputs via a scanner and echo or reverse alphabetize them.
Apply a private static reverse method to an ArrayList of strings, reversing each element in place using nested loops, get, set, and character swaps.
The alphabetize method sorts an array list of strings using a selection sort approach, comparing elements with compareTo and swapping with a temporary variable.
Define a private static void print method that takes string array or list, iterate with a for-each loop, format each line with a space and colon, and print with System.out.println.
Learn to capture user input with a scanner, parse dash commands like -r, -h, and -a, toggle options with booleans, and display a helpful command list.
Control a Java sorter by using booleans to reverse or alphabetize an array list, print the results, and manage user input with a scanner and a while loop.
Create an Eclipse project called file io and a class file reverser, learning to reverse a text file from a repository and import or paste source text.
Learn to read a text file in Java with a buffered reader, reverse content using a reverse method, and write the result to a new file using a print writer.
Build and use a file reverser to read a file, create a reversed string by iterating characters, handle newline characters, and print a mirror image of the original content.
This lecture demonstrates using byte streams for file I/O by reading bytes with a file input stream and writing to a file output stream, using a while loop and flush.
Zip and unzip files in Java using built-in file IO, zip output streams, and zip entries, with input handling and exception management.
learn how to unzip a file in java by creating a zip input stream, reading zip entries, and writing them to files via file output stream in the main method.
Explore how to zip and unzip files using a simple Java command interface, including parsing input commands like dash z and DSU to zip and unzip, with real-world applications.
Explore serialization by converting a Java object to bytes for network transmission; the example uses a serializable bank account with name, email, account number, and pin.
Learn how to serialize a bank account object in Java, writing it to a named file with an object output stream, handling exceptions, and preparing objects for remote transport.
Explore Java collections by building a linked list to store groceries, sort the list with a recursive quicksort, and export results to a text file using a print writer.
Learn to implement a hash map in Java to index authors by last name, store their works as a value list, and print results using the map interface and generics.
Explore how enumerations work with vectors by modeling a train and its cars, building the train, iterating to add cars, and printing the result.
Explore how generics in Java replace type-specific prints with a single generic method to print arrays of different types. See the Potter class print arrays and sort data using generics.
Develop a Java generic sorting method by defining a Comparable type, implementing a swap sort with nested loops, and printing array results with Arrays.toString for numbers and characters.
Explore recursion by implementing a Java Fibonacci calculator in Eclipse, using a static fib method and a Scanner to read input, then compute fib(n) with base cases 0 and 1.
Create a Java program using recursion to compute a row of Pascal's triangle and print a pyramid, extending the Fibonacci example with static print and compute methods and scanner input.
Learn why recursion can replace for loops by breaking a problem into parts, computing them separately, and summing the results, with Fibonacci as a contrasting example.
Create two threads using the Runnable interface and implement the run method to illustrate concurrency. Use sleep and print statements to show asynchronous execution and thread progress.
Extend thread or implement runnable to create thread two, demonstrate their interchangeability and minor differences, and configure it to run ten iterations with staged sleep intervals.
Create and compare two thread objects in Java, call run versus start, and observe how different outputs emerge, reinforcing practical threading concepts for Android applications.
Create two threads, apply join to wait for the first to finish before the second, producing a concise, predictable output.
Demonstrates how threads in Java are interrupted, triggering an exception, and shows how join and try-catch blocks manage interleaved execution as threads print running messages before interruption.
Verify the java version on windows and configure the PATH to include the JDK bin via environment variables. This enables running java commands from the command prompt.
Set up a Java networking project, add a JSON library, and implement a method to download a file and parse it into a JSON object using input streams.
Learn to handle http requests in Java for Android by reading from a reader into a string with a StringBuilder, then parse JSON objects and arrays.
Learn to extract keys and values from json, iterate over all keys with a for loop, and print them in a formatted way while handling corrupted json gracefully.
In this course, we will take your Java skills to the next level by using my systematic teaching as well as some really awesome examples I've developed! I've tailored this course for the individual who has learned the basics of Java, but still feels like they need to learn more. In this course, I will be giving tutorials on how to:
Being a student myself, I know how hard it is to learn a new skill. That is why I pride myself in doing the best I can to make sure that every student gets the help and knowledge they deserve. So what are you waiting for? Learn to program today!