Java SE: Objects, Classes, and Constructors, Part 5 of 18
Interactive

Java SE: Objects, Classes, and Constructors, Part 5 of 18

LearnNow Online
Updated Oct 29, 2018

Course description

Java was introduced many years ago not for the internet but has since expanded to be an industry standard for web pages. This course introduces the Java programming language and how to develop Java applications using Eclipse. You will learn the syntax of the Java programming language, object-oriented programming using Java, classes, constructors, class methods and control structures.

Each LearnNowOnline training course is made up of Modules (typically an hour in length). Within each module there are Topics (typically 15-30 minutes each) and Subtopics (typically 2-5 minutes each). There is a Post Exam for each Module that must be passed with a score of 70% or higher to successfully and fully complete the course.


Prerequisites

This course is intended for programmers who are interested in adding Java to their skills. The students should be familiar with object-oriented principals and the concept of object-oriented programming.


Meet the expert

Gene Van Sant

Gene Van Sant has over two decades of experience as a software/systems implementer and solutions integration architect. He has experience as a contractor and maintains instructor certifications from IBM and others. Gene balances his career between implementing and automating full blown real world solutions and teaching classes/workshops on emerging technologies and products. This allows Gene to gain valuable extensive real world experience while also staying ahead of the wave with cutting-edge expertise.

Video Runtime

114 Minutes

Time to complete

154 Minutes

Course Outline

Constructors and Class Members

Constructors and Class Members (28:02)

  • Introduction (00:47)
  • Demo: Constructors and Class Members (06:39)
  • Constructors (01:05)
  • Multiple Constructors (00:39)
  • Defining Constructors (01:08)
  • Default Constructor (00:17)
  • Zero Argument Constructor (01:06)
  • Example - Calling Constructors (00:46)
  • "this" Keyword (02:29)
  • Using "this" to Call a Constructor (00:26)
  • Demo: Using "this" to Call a Constructor (11:45)
  • Using "this" to Set a Field (00:48)
  • Summary (00:02)

Constructors and ClassMembers2 (49:57)

  • Introduction (00:15)
  • Demo: Constructors and ClassMembers2 (05:39)
  • Class Members (01:28)
  • Examples Of Class Members (00:59)
  • Comparison: Instance Members (00:54)
  • Comparison: Class Members (01:10)
  • Use of Class Variables (01:04)
  • Demo: Use of Class Variables (04:40)
  • Static Class Methods (01:15)
  • Use of Class Methods (00:33)
  • Main Method And Command Line Arguments (01:09)
  • Demo: Main Method and Command Line Arguments (11:27)
  • Declaring and Using Constants (02:07)
  • Coding Tips - Class Members (00:34)
  • Useful Standard Class Members (00:37)
  • Demo: Useful Standard Class Members (06:01)
  • Static Initialization Blocks (02:15)
  • Demo: Static Initialization Blocks (06:34)
  • Summary (01:07)

Control Structures

Control Structures (36:33)

  • Introduction (01:15)
  • "switch" Statement (02:28)
  • Example - switch (00:36)
  • Switch "Fall Through" (01:12)
  • "for" Loop (01:27)
  • Example - for (00:42)
  • Demo: Example - for (05:02)
  • "while" Loop (00:46)
  • Demo: "while" Loop (02:49)
  • "do...while" Loop (01:02)
  • Demo: "do...while" Loop (01:25)
  • Break Statement (01:56)
  • Example - break (00:31)
  • Labeled Statements (01:20)
  • Example - Labeled Break (00:43)
  • Continue Statement (01:14)
  • Example - Continue (00:27)
  • Example - Labeled Continue (00:28)
  • Coding Tips - Control Structures (01:08)
  • Demo: Control Structures (09:14)
  • Summary (00:38)
;