Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

Overview

In this video training course on Learning To Program With JAVA - The Basics, 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.

Subscriber Reviews

Average Rating: 4.363636363636363 out of 5 rating Based on 22 Ratings

"Learning To Program With JAVA - The Basics" - by Donnie on 19-SEP-2011
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
The learning program was good, but could have been better. The author rushed through sections as though in a race to finish. Some concepts that required more thorough explanations and perhaps diagrams were described in a short and incomplete fashion. Diagrams are powerful when depicting the relationships among classes, objects, constructors, super-classes, polymorphism, abstractions, interfaces, etc. I resumed training on a subsequent day and was lost because the author continued the discussion on drawing classes/methods used in polymorphism and abstractions with revisiting the original methods. (Again, diagrams would have been superb.) Finally, I was annoyed at the mispronouncing of the word "height".
Report as Inappropriate

Table of Contents

Chapter/Selection

Time

01. Introduction

What This Course Covers And What You Need

Preview

00:03:00

Biographical Information On The Author

Play Video

00:01:28

02. Getting Started

Downloading And Installing The JDK

Preview

00:02:29

Overview Of The JDK

Preview

00:02:24

03. Writing Your First Java Program - Hello, World!

Entering The Program

Preview

00:04:55

Compiling And Running The Program

Preview

00:01:33

Correcting Errors

Play Video

00:04:17

Exercise - Modifying The Hello, World! Program

Preview

00:02:18

04. Java Building Blocks - Data Types And Variables

Introduction To Data Types

Preview

00:03:48

Data Types - int, double

Preview

00:02:52

Data Types Continued - string, char, And bool

Preview

00:02:34

Variable Naming Rules

Preview

00:03:09

Declaring Variables

Preview

00:04:31

Assigning Data To Variables

Preview

00:04:16

Exercise - Saying Hello To Others

Preview

00:05:03

05. Introduction To Classes And Objects

Classes And Objects

Preview

00:04:26

Class Data Members

Preview

00:08:53

Creating Constructors

Preview

00:04:47

toString Method, Creating Class Objects

Preview

00:05:23

Accessor Methods

Preview

00:10:05

Exercise - A Simple Class

Preview

00:06:27

06. Arithmetic Operators And Expressions

The Standard Java Arithmetic Operators

Play Video

00:05:40

Arithmetic Operator Order Of Operations

Preview

00:04:26

Final Variables

Preview

00:04:47

Math Class

Preview

00:05:42

Mixing Arithmetic Data Types

Preview

00:03:46

Exercise 1 - Translating A Formula To Java Code

Preview

00:03:38

07. Java Input And Output

Writing Special Characters - Newlines And Tabs

Preview

00:04:19

Formatted Output With printf

Preview

00:04:53

Using The Scanner To Input Numbers

Play Video

00:06:08

Using The Scanner To Input Strings

Preview

00:03:50

Exercise - A Simple Question And Answer Program

Preview

00:06:22

08. Making Decisions

Relational Operators

Preview

00:06:18

Logical Operators

Preview

00:04:07

Simple if-else Statement

Preview

00:06:42

Nested if-else Statements

Play Video

00:07:50

The if-else if Statement - Part 1

Preview

00:05:42

The if-else if statement - Part 2

Preview

00:03:59

Exercise 1 - A Question And Answer Program

Preview

00:06:23

Exercise 2 - A Calculator Program

Preview

00:05:05

09. Performing Repetition

The while Loop - Introduction

Play Video

00:05:51

Count-controlled while Loops

Preview

00:06:23

Condition-controlled while Loops

Preview

00:06:17

Results-controlled while Loops

Preview

00:03:28

The for Loop - Part 1

Play Video

00:05:58

The for loop - Part 2

Preview

00:04:05

break and continue

Preview

00:06:44

Exercise 1 - Looping q And a

Preview

00:03:45

Exercise 2 - Looping Calculator

Preview

00:04:41

Exercise 3 - for Loop Exercise

Preview

00:04:59

10. Methods

Defining A Method - Part 1

Play Video

00:08:22

Defining A Method - Part 2

Preview

00:08:14

Methods With Multiple Parameters

Preview

00:05:31

Predicate Methods

Preview

00:06:46

Void Methods

Preview

00:04:11

Pass By Value

Preview

00:03:22

Exercise 1 - Three Example Methods

Preview

00:06:11

Exercise 2 - Adding Methods To The Calculator Program

Preview

00:04:24

11. ArrayLists

ArrayList Introduction

Preview

00:05:58

Declaring And Initializing An ArrayList

Preview

00:03:28

Adding Data To An ArrayList

Preview

00:02:51

Accessing ArrayList Elements

Preview

00:03:25

Passing ArrayLists As Method Arguments

Preview

00:05:08

Generating Random Numbers

Play Video

00:04:45

Searching An ArrayList

Preview

00:06:10

Sorting An ArrayList

Play Video

00:03:17

Exercise 1 - Using An ArrayList To Find Palindromes

Preview

00:07:51

Exercise 2 - Finding The Maximum Value

Preview

00:03:47

12. Classes And Object-Oriented Programming

Private Data Members

Preview

00:06:30

More On Constructors

Preview

00:06:00

Displaying Class Data, toString

Preview

00:08:54

Set And Get Methods

Preview

00:05:45

Increment Method For Time Class

Preview

00:04:38

Exercise 1 - Building An Object-Oriented Calculator

Play Video

00:05:34

Exercise 2 - Extending Time Class

Preview

00:08:12

13. Inheritance

Introduction To Inheritance

Play Video

00:09:26

Overriding Methods

Preview

00:06:11

Protected Members

Preview

00:05:47

The Object Class

Preview

00:04:51

Exercise 1

Preview

00:08:33

Exercise 2

Preview

00:04:51

14. Polymorphism

Introduction To Polymorphism - Part 1

Preview

00:05:45

Introduction To Polymorphism - Part 2

Preview

00:02:58

Polymorphism Example

Preview

00:04:15

Working With Abstract Classes

Preview

00:05:07

Working With Interfaces

Preview

00:05:54

Exercise 1

Preview

00:05:22

15. Arrays

Declaring An Array

Preview

00:04:23

Accessing Array Elements

Preview

00:05:48

Passing Arrays As Function Arguments

Preview

00:06:23

Two-Dimensional Arrays - Part 1

Preview

00:05:03

Two-Dimensional Arrays - Part 2

Preview

00:07:59

Exercise 1 - Using Array Elements As Counters

Preview

00:06:19

Exercise 2 - Displaying Bar Charts Using Array

Preview

00:04:04

Exercise 3 - Creating A Deck Of Playing Cards

Preview

00:07:11

16. Additional Java Control Flow Constructs

The switch Statement - Part 1

Play Video

00:08:13

The switch Statement - Part 2

Preview

00:03:58

The do-while Loop - Part 1

Preview

00:03:41

The do-while Loop - Part 2

Preview

00:03:41

The for-each Loop - Part 1

Preview

00:05:50

The for-each Loop - Part 2

Preview

00:04:12

Exercise 1 - Rewriting An if-else if Statement Using a switch Statement

Preview

00:05:10

Exercise 2 - Rewriting A while Loop with a do-while Loop

Preview

00:04:47

Exercise 3 - Using A for-each Loop With ArrayLists

Preview

00:05:01

17. File Processing

try-catch Statement

Preview

00:05:17

Writing Data To A File

Preview

00:05:41

Reading Data From A File

Preview

00:04:21

Appending Data To A File

Preview

00:04:50

Writing Characters To A File

Preview

00:03:02

Reading Characters From A File

Preview

00:03:57

Exercise 1 - Creating A To-Do List

Preview

00:07:55

Exercise 2 - To-Do List Continued

Preview

00:05:08

Exercise 3 - To-Do List Continued

Preview

00:04:13

Extras

The publisher has provided additional content related to this title.


Description
Content

Exercise file

  • Working-Files.zip