Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Introduction to Java Programming for Online Learners
Rating: 4.2 out of 5(254 ratings)
2,306 students

Introduction to Java Programming for Online Learners

Supplemental instruction on java concepts found in online programming courses, designed to help students truly learn.
Created byBrian Gorman
Last updated 2/2021
English

What you'll learn

  • Introduce the student to Java
  • Build solid Java programming skills for anyone wanting to learn the language
  • Aid online students taking self-directed courses, or courses with minimal instructor interaction
  • Challenge the student to work with the code and engage in the material

Course content

13 sections135 lectures23h 3m total length
  • Course Overview - Welcome4:42
    This lecture is our course overview, talks about who I am as your instructor, some of my experiences and ultimately gives a guide on how to proceed through each week/section of the course.  Additionally, the topics covered in the course are exposed so that everyone can easily see the information that will be discussed in our course.
  • Welcome to computer programming!12:27
    This lecture is a quick introduction to programming.  Essentially, we all want to get out of the gates and run as fast as possible.  This introduction discusses some of the pitfalls with that approach.  In the end, we need to commit to ourselves and give ourselves the time required to work through the material in a way that helps us to master it through each section.  Learning to program is an investment, and like all investments, will take commitment in the form of time and effort.  Here we go!
  • Install Visual Studio Code [optional]4:49

    In this video, I am installing Visual Studio Code.  VSCode is a free program that is really nice for working with just about every programming language you want, from html, css, and javascript to C#, Java, and Python.
    The rest of this course will not use VSCode, but you are free to use it if you would like.  I would recommend having this handy for other coding, not just Java, and the integrated terminal is nice for running powershell and GIT as well as working with C# or Java.

  • Install Java 15.0.2 on Windows8:36

    In order to work with Java, we need to have the SDK up and running on our machine.  This video is me installing the latest version (jdk 15.0.2) at the time of this recording. 

    If for some reason you can't get this to work, please just install Eclipse and skip this command line section.  In the end, you just need to be able to run the code somewhere.

  • Configuring Windows for manual java programming4:59

    This video walks us through setting up our windows machine to compile and run a program. For this video, you'll want to get the file "ManualCheck.java" and make sure to place it somewhere on your computer that is easy to access, such as the desktop.

    Make sure to follow along with me in the video to complete the steps for manual programming, which make sure we are ready to go for writing java programs on our machine.

  • Program 1: Writing our first program -- Hello World8:21

    This video shows us how to write our very first program, the standard "Hello World" text printing program. Although we haven't covered syntax to this point, the program is simple and straight-forward.

    To maximize your learning from this course, I highly recommend that follow along and perform all of the actions which I am performing in the demonstration. This will help you to learn the material, understand what is truly going on, make mistakes from which you can learn, and ultimately retain the knowledge from these instructional videos.

    Although we will have a working file 'HelloWorld.' by the end of this lesson, I am not including the file for download on purpose. This will encourage you to create the file on your own. Additionally, if you have any mistakes, you'll have to fix them. Hopefully you will find this a simple and useful activity.

    Please note: If you are using the Java 7 SDK, you will need to select the default folder installation path for the Java 7 version you are on, instead of java 6. Use that path when working with the environment and/or manual programming to execute the javac compiler and java runtime executable programs.

  • Simple Debugging, Fixing a Program, and dealing with problems while programming5:46

    In this video, we take a moment to purposefully break our helloworld program, thereby giving us the opportunity to see errors as they happen at compile time, and learn how we might respond to the errors. This demonstration also shows us how programming manually can be more complicated than programming with an IDE due to the feedback not happening as quickly when we make an error.

    By purposefully breaking our code, we get used to seeing some errors that we might encounter later. The experience of having broken the code and seeing the direct result may help us to fix errors later when we encounter similar messages from the compiler.

    Please note: You will need to select the default folder installation path for the Java version you are on, including the correct current update number . Use that path when working with the environment and/or manual programming to execute the javac compiler and java runtime executable programs.

  • Install an IDE - Eclipse Oxygen [June 2017 release] on Windows6:09

    This video shows a demonstration of installing the Eclipse IDE (which you may choose to use for the remainder of our course; new videos I produce will use this IDE going forward as I no longer use Netbeans - however every java program we write in this course can be done in any Java IDE, including both Netbeans and Eclipse).

  • Installing an IDE - Netbeans [skip if using Eclipse]4:59

    This video shows a demonstration of installing the Netbeans IDE (which you may choose to use for the remainder of our course; old videos use this IDE, new will not).

    After installation, we'll quickly create a HelloWorld project to make sure everything is working and see how a powerful IDE can be beneficial to any programmer.

  • Creating Projects [Both Eclipse and NetBeans3:39

    This video shows how to quickly create a project in either NetBeans or Eclipse. Going forward, the lecture resources [files] will be available as *.java files. Therefore, you'll be creating your own project and just importing the resource files.

    The files attached for this video are actually going to be used in the next video as well, so this will give you a head start on setting up your project for the next video, and will highlight the idea of creating your own project to work along-side of me as we go through the lectures together.

  • Programming Syntax Basics12:13
    In this video, we cover some of the basic syntax for writing programs.  In the getting started exercises we've already seen some of this syntax, however in this lecture we take a deeper look at what is required to make sure a program will compile, as well as learn a bit more about what is required to make a program run.
  • PIAT [Putting it all together]: Simple Output6:31
    This lecture is a brief overview of printing output to the screen using three different types of printing.  The first type is the println("..."), which we've already seen.  The second type introduces printf -- or formatted printing, and the final type introduces the basic print statement.  Most of our code will use either println or printf, but it is good to know about the print statement as well.  Additionally, we take a quick look at using variables, by introducing the String type and setting a variable using Strings.  We'll cover variables in more details in Section 2, so this brief introduction gives us a taste of what is to come.
  • Sudoku 1: Printing a Sudoku Grid7:00
    This video gives us a "real-world" printing example.  Additionally, the second part of this video dives into a bit more advanced printing options, introducing String.format and gives us a chance to recognize some patterns to make a better printing procedure.
  • Sample Code for Section 11:00

    All of the code for section 1 is contained here. Additionally, you should find the required code for each individual lesson attached with the specific lesson.

  • Section 1 Quiz
  • SectionOneResources0:04

Requirements

  • Willingness to learn
  • A few hours a week to review videos and a few more hours to work with the code individually.
  • The course is oriented towards those using Windows, however any computer that runs java can be used.

Description

This course provides instruction through video lectures and materials which will teach (you) the student how to program in Java from the very basic level to an intermediate level of programming. The intent is to aid anyone who is struggling in learning how to program and would like to see practical examples and demonstrations. This course is not affiliated with any university and will not provide answers to any homework assignments for any reason. Topics covered will include but not be limited to:

  1. Syntax and commands
  2. Creating variables
  3. Creating methods
  4. Working with files
  5. Exception handling
  6. Creating Classes
  7. Object-Oriented programming basics
  8. Basic Unit Testing
  9. Graphics and GUI programming

In the end, this course is a stand-alone course, however it would be a huge aid to the online student who is taking a self-directed course, an individual who is trying to learn how to program, or even a high school student looking to get a head start on computer science material they might encounter in college. The material is organized in a start-to-finish fashion, building on knowledge with each section, so it is best to proceed through each section in order. Each section should amount to about a week worth of learning, lining up with most popular online course formats. Additionally, the course works hard to build practical knowledge that will help a student excel in their coursework, and also builds a strong foundation for a start to a career in programming for anyone looking to learn!

As an added bonus, several useful programs are built throughout this course, and the end result of the course includes full source code for a working Sudoku game, amongst other programs, such as card game score calculators and basics physics formula calculation programs.

Who this course is for:

  • Beginning programmers
  • Programmers making a switch to Java from another language
  • Online Programming students in Java courses
  • Advanced High School Students who want to get a jump on university level programming courses in computer science/management information systems.