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

Java Programming Basics

Video Description

4+ Hours of Video Instruction

Overview

Learn Java and Object-Oriented Programming concepts and techniques using hands-on examples so you can get started programming today.

Description

Java Programming Basicsteaches core Java fundamentals quickly and easily so you can get started programming today. In this course, expert programmer and trainer Simon Roberts introduces the concepts and techniques of Java, as well as the basics of object orientation. You’ll learn the fundamental syntax and how to work with objects, variables, loops, and libraries. You will then practice your skills by creating a chat program from the ground up. This course is step one on your road to becoming a skilled Java developer, with all the exciting possibilities that offers.

Major sections are as follows:

Lesson 1: Learning Java

Lesson 2: Procedural Java

Lesson 3: From Structures to Objects

Lesson 4: More About Objects

Lesson 5: Java IO Libraries and Exceptions

Lesson 6: Creating a User Interface

Lesson 7: Creating a Chat Program

About the Instructor

Simon Robertsstarted his computing career as a programmer in the early 1980s and built several of his own microprocessor-based computers. He moved to Sun Microsystems, Inc. in mid-1995 and almost immediately became the leading Java instructor in the U.K. In 1998, Simon moved to Colorado, where he still lives. While at Sun, he created the Sun Certified Programmer, Developer, and Architect certifications, and worked in teams on several other certifications. He has written three books on Java, including two certification study guides: one covering the Programmer and Developer exams, and one covering the Architect exam. He left Sun in 2004 and became an independent instructor, architect, and software engineer.

Skill Level

  • Beginning

What You Will Learn

  • Fundamental syntax
  • How to work with objects, variables, loops, and libraries
  • Hands-on skills for coding

Who Should Take This Course

  • Anyone wishing to learn the Java programming language.

Course Requirements

  • No experience required

Table of Contents

Lesson 1: Learning Java

In this chapter, you'll be introduced to Java, learning what it is and what it can do for you. We'll look at the Java Development Kit and the NetBeans IDE (integrated development environment) and get started working with Java by coding a small project.

Lesson 2: Procedural Java

This chapter looks at the basics of programming in Java. You'll learn about methods, variables, arrays, loops, conditional statements, and more.

Lesson 3: From Structures to Objects

This chapter begins by looking at how to create and manipulate user-defined structured data types in Java, then using that as a basis, moves on to explore objects and classes.

Lesson 4: More About Objects

In this chapter, you'll learn some more advanced techniques for working with objects. You'll be introduced to inheritance, abstract classes, and interfaces.

Lesson 5: Java IO Libraries and Exceptions

In this chapter, you'll learn about the IO libraries provided by Java and how Java handles exceptions.

Lesson 6: Creating a User Interface

This chapter explores the basics of creating a Java GUI (graphical user interface). You'll learn about components, containers, layout managers, and more.

Lesson 7: Creating a Chat Program

This chapter walks you through the entire process of creating a simple chat program with Java. We'll create a user interface, add behavior to it, and then create a network client and server and connect the GUI to them.

Table of Contents

  1. Introduction
    1. Java Programming Basics: Introduction 00:04:31
  2. Learning Java
    1. Learning objectives 00:00:50
    2. What Is Java and Why Would I Use It? 00:01:29
    3. Verifying and Installing the Java Development Kit 00:03:39
    4. Obtaining and Installing the NetBeans IDE 00:03:10
    5. Hello World 00:05:01
  3. Procedural Java
    1. Learning objectives 00:02:48
    2. Basic Programming Mechanisms 00:03:27
    3. Variables, Declarations, Names, and Coding Conventions 00:06:36
    4. Operators and Strong Typing 00:10:55
    5. Conditional Flow Control, if, and switch 00:05:46
    6. Looping with while, do while, and for Loops 00:09:06
    7. Arrays 00:11:12
    8. Defining and Calling Methods 00:11:48
  4. From Structures to Objects
    1. Learning objectives 00:04:56
    2. Creating and Using Structured Data Types 00:09:48
    3. Combining Code with a Structure 00:12:59
    4. Encapsulation, Achieving, and Benefits 00:11:58
    5. Java Libraries and Documentation 00:07:51
    6. Classes, Objects, and the Meaning of Static 00:08:57
    7. Working with Packages 00:08:29
  5. More About Objects
    1. Learning objectives 00:04:01
    2. Introducing Inheritance 00:10:59
    3. Abstract Classes and Interfaces 00:06:50
  6. Java IO Libraries and Exceptions
    1. Learning objectives 00:02:46
    2. Using the IO Package 00:08:37
    3. Handling Exceptions 00:14:24
  7. Creating a User Interface
    1. Learning objectives 00:05:40
    2. Buttons, TextFields, Components, and Containers 00:11:31
    3. Handling User Interaction 00:13:25
    4. More Layout Managers 00:09:40
    5. Swing Thread Rules 00:12:05
  8. Creating a Chat Program
    1. Learning objectives 00:02:10
    2. Creating a UI for the Chat Program 00:08:24
    3. Adding Behavior to the Chat GUI 00:09:59
    4. Connecting the GUI to the Network 00:07:05