Tag Archives: Java Video Tutorial

Java Video Tutorial 8

Java Video Tutorial 8I thought it would be fun to teach Java while I make a video game. This is a simple game, but it will teach a lot of the logic needed to make your own game.

This tutorial will teach you about arrays, class fields, class methods, how to set a default value for an array, and a ton of logic.

I hope you like it. If you missed the previous parts though you should check them out first here Java Video Tutorial.

Continue reading Java Video Tutorial 8 →

Java Video Tutorial 7

Java Video Tutorial 7In this part of my Java Video Tutorial I show you how to create classes in Java.

I cover Java fields (class variables) and methods (functions) first. I then explain what a private field is in detail. We then move on to what it means to overload a method, what a constructor is and how to overload a constructor.

Don’t worry. It sounds much more complicated than it is. You should however check out the previous tutorials before you try to learn this stuff here Java Video Tutorial.

Continue reading Java Video Tutorial 7 →

Java Video Tutorial 6

Java Video Tutorial 6In this part of my Java Video Tutorial I cover Java Exception handling. An exception is an object created when an error occurs.

I explain in this video the difference between run time and checked exceptions. I show you how to use try, catch and finally. We review the most common errors you will come across. I show you how to catch all and ignore individual exceptions. Yes, everything Java Exception wise will be covered.

If you missed part 1 watch it first here Java Video Tutorial.

Continue reading Java Video Tutorial 6 →

Java Video Tutorial 5

Java Video Tutorial 5Here I continue my Java Video Tutorial by covering methods, or functions in Java.

I spend a considerable amount of time on those things that tend to confuse people who are learning Java. I review how class variables differ from local variables and provide numerous examples of methods.

If you missed the first tutorial see Java Video Tutorial, since I use a lot of code here that I explained previously. To help you better understand this video, see the code below.

Continue reading Java Video Tutorial 5 →

Java Video Tutorial 4

Java Video Tutorial 4In part 4 of my Java Video Tutorial I cover looping in Java. This tutorial uses a lot of what I previously taught in the first Java Video Tutorial, so watch the previous parts first.

Here I start out explaining while loops. I provide numerous examples including how to calculate PI with a while loop.

I then go on to explain how do while loops work. I finish the tutorial by covering the for loop.

Continue reading Java Video Tutorial 4 →

Java Video Tutorial 3

Java Video Tutorial 3In this tutorial I show you the if statement, relational operators, logical operators, ternary operator and the switch statement.

If you haven’t watched part 1 watch it first hereĀ Java Video Tutorial.

As you watch this video, you will be able to follow it easier if you have the commented code in front of you. It follows the video below.

While this tutorial has been slow it will get much more complicated quickly. So, make sure you understand everything I cover in the beginning.

Continue reading Java Video Tutorial 3 →

Java Video Tutorial 2

Java Video Tutorial 2In this video I continue where I left you in part 1 of the Java Video Tutorial. Definitely watch it first.

Here I show you how to import class libraries, except user input, check for valid input, catch errors in input, a bunch of math functions and more.

All of the code follows the video. You should print it out because it will greatly help you to understand the code better.

Continue reading Java Video Tutorial 2 →

Java Video Tutorial

Java Video TutorialHere I begin what will be a massive Java Video Tutorial. I start with all you need to start writing Java programs.

I then cover just about anything you’d want to know about Javas primitive data types. I cover declaration statements, expression statements, all the types and how to convert them.

This tutorial starts out slow, but by the end you will be a Java expert! Make sure you print out the code below to help you learn easier.

Continue reading Java Video Tutorial →