Java - The Beginners Series

An overview of all the core concepts in Java to build a strong foundation in your computer programming skills
4.3 (739 ratings)
Instead of using a simple lifetime average, Udemy calculates a
course's star rating by considering a number of different factors
such as the number of ratings, the age of ratings, and the
likelihood of fraudulent ratings.
47,421 students enrolled
Start Learning Now
  • Lectures 48
  • Length 6 hours
  • Skill Level Beginner Level
  • Languages English
  • Includes Lifetime access
    30 day money back guarantee!
    Available on iOS and Android
    Certificate of Completion
Wishlisted Wishlist

How taking a course works


Find online courses made by experts from around the world.


Take your courses with you and learn anywhere, anytime.


Learn and practice real-world skills and achieve your goals.

About This Course

Published 12/2013 English

Course Description

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.

What are the requirements?

  • Computer
  • Java (I show how to download this)
  • Eclipse (I show how to download this)

What am I going to get from this course?

  • To have a basic understanding of Java and feel comfortable with programming
  • Have a strong foundation to be able to get into a more specialized fields in Java such as Desktop programs(GUI's), Web Development, etc.

Who is the target audience?

  • Students
  • People just interested in computer programming

What you get with this course?

Not for you? No problem.
30 day money back guarantee.

Forever yours.
Lifetime access.

Learn on the go.
Desktop, iOS and Android.

Get rewarded.
Certificate of completion.


Section 1: Setting up your computer

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.

Section 2: Java Core Basics

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.

1 question

Which of these is not a primitive data type?

1 question

True or False? The Scanner class can be used to read data from a keyboard and from a file.

1 question

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);

Assignment 1: Interest Rate
Section 3: Conditionals

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

Do-While Loop

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

1 question

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.

1 question

Which is not a loop?

Assignment 2: Grade calculator
Section 4: Arrays

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

1 question

True or False? Arrays can only hold primitive data types.

1 question

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).

Assignment 3: Display a multiplication table
Section 5: Classes

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

1 question

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.

1 question

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.

Section 6: Object Oriented Programming Core Concepts

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

Abstract Class
1 question

How does Java handle multiple inheritance problem?

1 question

Which statement is true

Section 7: Exceptions

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

1 question

True or False? Checked Exceptions must be handled in the code.

1 question

Which is not an unchecked exception

Assignment 6: Create password

Students Who Viewed This Course Also Viewed

  • Loading
  • Loading
  • Loading

Instructor Biography

Michel McAlexander, McProgramming

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.

Ready to start learning?
Start Learning Now