O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Beginners Java Programming

Video Description

In this video training course on Programming with Java for Beginners, expert author and professor Mike McMillan starts you along the path to enlightenment with Java, by introducing you to the basic concepts, tools and functions that you will need to build fully functional programs with the popular programming language, Java.
Starting with the download and installation of the JDK (Java Development Kit), this video tutorial will teach you the different typs of variables (bool, int, etc), what an operator is and how to use it (+,-,%,etc). You will learn about object-oriented programming, and creating classes and objects. You will control your programs with different types of control loops such as while and for, as well as making decisions with if-else statements. Each chapter is capped of with exercises so you can put in to practical use, what you learn in each section.
By the completion of this instructional video course, you will have the base knowledge that you need to create functional and useful Java programs. This video tutorial comes complete with working files and code samples, so you can work alongside the author as he teaches you each concept.

Table of Contents

  1. Introduction
    1. What This Course Covers And What You Need 00:03:01
    2. Biographical Information On The Author 00:01:29
  2. Getting Started
    1. Downloading And Installing The JDK 00:02:29
    2. Overview Of The JDK 00:02:24
  3. Writing Your First Java Program - Hello, World!
    1. Entering The Program 00:04:56
    2. Compiling And Running The Program 00:01:34
    3. Correcting Errors 00:04:18
    4. Exercise - Modifying The Hello, World! Program 00:02:19
  4. Java Building Blocks - Data Types And Variables
    1. Introduction To Data Types 00:03:49
    2. Data Types - int, double 00:02:53
    3. Data Types Continued - string, char, And bool 00:02:34
    4. Variable Naming Rules 00:03:09
    5. Declaring Variables 00:04:32
    6. Assigning Data To Variables 00:04:17
    7. Exercise - Saying Hello To Others 00:05:03
  5. Introduction To Classes And Objects
    1. Classes And Objects 00:04:26
    2. Class Data Members 00:08:53
    3. Creating Constructors 00:04:47
    4. toString Method, Creating Class Objects 00:05:23
    5. Accessor Methods 00:10:05
    6. Exercise - A Simple Class 00:06:27
  6. Arithmetic Operators And Expressions
    1. The Standard Java Arithmetic Operators 00:05:41
    2. Arithmetic Operator Order Of Operations 00:04:27
    3. Final Variables 00:04:47
    4. Math Class 00:05:42
    5. Mixing Arithmetic Data Types 00:03:47
    6. Exercise 1 - Translating A Formula To Java Code 00:03:39
  7. Java Input And Output
    1. Writing Special Characters - Newlines And Tabs 00:04:19
    2. Formatted Output With printf 00:04:54
    3. Using The Scanner To Input Numbers 00:06:09
    4. Using The Scanner To Input Strings 00:03:51
    5. Exercise - A Simple Question And Answer Program 00:06:22
  8. Making Decisions
    1. Relational Operators 00:06:19
    2. Logical Operators 00:04:08
    3. Simple if-else Statement 00:06:42
    4. Nested if-else Statements 00:07:50
    5. The if-else if Statement - Part 1 00:05:42
    6. The if-else if statement - Part 2 00:04:00
    7. Exercise 1 - A Question And Answer Program 00:06:23
    8. Exercise 2 - A Calculator Program 00:05:06
  9. Performing Repetition
    1. The while Loop - Introduction 00:05:51
    2. Count-controlled while Loops 00:06:23
    3. Condition-controlled while Loops 00:06:17
    4. Results-controlled while Loops 00:03:28
    5. The for Loop - Part 1 00:05:59
    6. The for loop - Part 2 00:04:05
    7. break and continue 00:06:44
    8. Exercise 1 - Looping q And a 00:03:46
    9. Exercise 2 - Looping Calculator 00:04:42
    10. Exercise 3 - for Loop Exercise 00:05:00
  10. Methods
    1. Defining A Method - Part 1 00:08:23
    2. Defining A Method - Part 2 00:08:14
    3. Methods With Multiple Parameters 00:05:32
    4. Predicate Methods 00:06:47
    5. Void Methods 00:04:12
    6. Pass By Value 00:03:22
    7. Exercise 1 - Three Example Methods 00:06:11
    8. Exercise 2 - Adding Methods To The Calculator Program 00:04:25
  11. ArrayLists
    1. ArrayList Introduction 00:05:58
    2. Declaring And Initializing An ArrayList 00:03:28
    3. Adding Data To An ArrayList 00:02:51
    4. Accessing ArrayList Elements 00:03:25
    5. Passing ArrayLists As Method Arguments 00:05:09
    6. Generating Random Numbers 00:04:46
    7. Searching An ArrayList 00:06:10
    8. Sorting An ArrayList 00:03:18
    9. Exercise 1 - Using An ArrayList To Find Palindromes 00:07:52
    10. Exercise 2 - Finding The Maximum Value 00:03:48
  12. Classes And Object-Oriented Programming
    1. Private Data Members 00:06:31
    2. More On Constructors 00:06:00
    3. Displaying Class Data, toString 00:08:54
    4. Set And Get Methods 00:05:45
    5. Increment Method For Time Class 00:04:38
    6. Exercise 1 - Building An Object-Oriented Calculator 00:05:35
    7. Exercise 2 - Extending Time Class 00:08:12
  13. Inheritance
    1. Introduction To Inheritance 00:09:26
    2. Overriding Methods 00:06:12
    3. Protected Members 00:05:48
    4. The Object Class 00:04:51
    5. Exercise 1 -Chapter 13 00:08:33
    6. Exercise 2 - Chapter 13 00:04:51
  14. Polymorphism
    1. Introduction To Polymorphism - Part 1 00:05:46
    2. Introduction To Polymorphism - Part 2 00:02:58
    3. Polymorphism Example 00:04:16
    4. Working With Abstract Classes 00:05:07
    5. Working With Interfaces 00:05:54
    6. Exercise 1 - Chapter 14 00:05:23
  15. Arrays
    1. Declaring An Array 00:04:23
    2. Accessing Array Elements 00:05:49
    3. Passing Arrays As Function Arguments 00:06:23
    4. Two-Dimensional Arrays - Part 1 00:05:04
    5. Two-Dimensional Arrays - Part 2 00:08:00
    6. Exercise 1 - Using Array Elements As Counters 00:06:20
    7. Exercise 2 - Displaying Bar Charts Using Array 00:04:05
    8. Exercise 3 - Creating A Deck Of Playing Cards 00:07:12
  16. Additional Java Control Flow Constructs
    1. The switch Statement - Part 1 00:08:13
    2. The switch Statement - Part 2 00:03:59
    3. The do-while Loop - Part 1 00:03:41
    4. The do-while Loop - Part 2 00:03:42
    5. The for-each Loop - Part 1 00:05:51
    6. The for-each Loop - Part 2 00:04:13
    7. Exercise 1 - Rewriting An if-else if Statement Using a switch Statement 00:05:11
    8. Exercise 2 - Rewriting A while Loop with a do-while Loop 00:04:48
    9. Exercise 3 - Using A for-each Loop With ArrayLists 00:05:01
  17. File Processing
    1. try-catch Statement 00:05:17
    2. Writing Data To A File 00:05:42
    3. Reading Data From A File 00:04:22
    4. Appending Data To A File 00:04:51
    5. Writing Characters To A File 00:03:03
    6. Reading Characters From A File 00:03:58
    7. Exercise 1 - Creating A To-Do List 00:07:56
    8. Exercise 2 - To-Do List Continued 00:05:09
    9. Exercise 3 - To-Do List Continued 00:04:13