As a college student who did not have the best professor in my intro to java course, I understand the important of visual hands on learning. So I kept in mind, when formatting this course, how I would have best understood something initially and the order I would have comprehended best. This course covers the basic concepts of Java to get you started and comfortable programming. You shouldn't rush too fast through the course, but rather use some of what I am teaching and plugging in different values or using the concepts in different ways. Also, code things that interest you. Explore the Java API to see what all you can do with objects already available in Java's vast library. I barely scratched the surface to the things java can do. Be on the look out for my follow up intermediate series where I will get a little bit more advanced. This course is for anyone who is taking a programming course in school, at any level, and needs supplementary help or someone that is just interested in programming. Java is arguably the best language to start off learning now a days.
Here is an introduction of what java is and the underlaying way that it works. It may be over your head at first, but come back to this to fully understand what happens in the computer while your program compiles and runs
This video shows you how to download the Java jdk and set environment variables correctly
This video shows you how to download, install and run eclipse IDE. This is a great text editor with a huge amount of features that makes life as a programmer very easy.
This is your standard hello world video for java programming. I go over how to print text to the screen and the difference between System.out.println() and System.out.print().
In this Java tutorial, I will show you how to use the command prompt (aka command line) to compile and run your java code. Also I will show you how you can pass in arguments through the command line.
I added this after getting a few questions on how to compile on command line, so if you are watching this after understanding concepts like arrays and passing arguments intro method parameters it will make more sense. But if this is the first video you watch, it may seem like gibberish, but watch a few times and come back to it again when you get more java knowledge.
In this video I talk about how to use comments in Java
In this video I introduce different data types such as byte, short, integer, long, float, double.
In this video I talk about characters in Java. The keyword in java for a character is char
In this video I show you how to do basic arithmetic with numbers. I show what happens if you do arithmetic operations on two or more variables of different types.
I discuss the String object in java and some common things they are used for
How to use Eclipse to run command line arguments that you would otherwise have to use a command prompt for
In this video I show how to take in text from a user with a Scanner object
Learn how to parse through a text file with the Scanner object
In this video, I show you how to format numbers to represent money and percentages.
Which of these is not a primitive data type?
True or False? The Scanner class can be used to read data from a keyboard and from a file.
True or False? The Math class is a static class in java, meaning you do not have to instantiate an object of type Math. You can directly call its methods by class name such as Math.sqrt(4);
Learn how the if statement works. The if statement is the core logical operation that comes up in all procedures in the programming world.
This is the same as the if statement except for it gives you code to run in the else clause if the 'if' statement is false.
In this video I show the syntax and use of a while loop in java
In this video I go over a basic for loop and also compare it to a while loop
In this video I show you the basic syntax and idea behind the switch statement
True or False? If-Else statements and switch statements are logically very similar. If-else statements can handle complex expressions in condition where a switch statement requires one value to be tested.
Which is not a loop?
In this video I show how to set up a basic array in java
Enhanced For loop in java. Also called a for-each loop
Solving math calculations with arrays
How to create multidimensional arrays in java. Also how to loop through a multidimensional array with nested for loops
True or False? Arrays can only hold primitive data types.
True or False? To go through(print out, evaluate, etc.) each value in a mutlidimensional array(lets just say 2d) you can use a nested for loop (a for loop inside another for loop).
In this video I give a brief overview of what a class is and its attributes and operations
In this video I show how to create objects from the Person class I created in the previous tutorial
In this video I show how to create a basic method and the how a method should be structured
In this video I show how to call methods for objects created from other classes
In this video I explain what the static keyword means and how to use it.
In this video I show you how to write getter and setter methods in java
In this video I show you how to write getter and setter methods in java
In this video I show you how to create your own toString method in java that will override the Object toString
True or False? A class is a template that defines variables and methods and objects can be created of the classes type. The variables in the class can be initialized by a newly created object and specific to just that object.
True or false? When a variable has the keyword static, then the value given for the variable will be the same for all objects created.
This video explains how the inheritance hierarchy works. It will give a brief explanation of java keywords extends and super. Also visibility modifiers public, private, protected, and default
How subclasses can override the superclasses method and how dynamic binding works
An interface is a set of uninstantiated methods and variables that another class can implement and declare what each method or variable to whatever they want.
In this Java tutorial, I will talk about how Java 8 supports default methods within an interface. A Java interface does not allow for an implemented method inside of it. Now with Java 8 we can use the keyword default to add implemented method. This is very useful.
Using instanceof is a way is checking if an object is an instance of a class, instance of a subclass or an instance of a class that implements a specific interface.
In this video I explain polymorphism and how it works within the inheritance hierarchy
How does Java handle multiple inheritance problem?
Which statement is true
This is an introductory video about the categorization of exceptions.
In this video I introduce the error stream which is an input/output (i/o) stream that prints red text to screen to signify an exception has been thrown
This video shows how to handle checked exceptions with try-catch blocks
In this video I show how you can add a Finally clause after the catch clause(s) that will automatically run whether an exception was thrown or not.
If you dont want to handle an exception immediately with a try-catch statement, you can pass exception to the calling method
True or False? Checked Exceptions must be handled in the code.
Which is not an unchecked exception
Senior Computer Science major at VCU. I learned Java and other computer concepts/languages as well as math in an addictive manner. I have created many programs and help fellow students constantly. I have a great understanding of Java programming and if I dont know the answer/solution off the top of my head, I know how to find it and grasp it.