Accessible from your Account page after purchase. Requires the free QuickTime Player software.
Videos can be viewed on: Windows 8, Windows XP, Vista, 7, and all versions of Macintosh OS X including the iPad, and other platforms that support the industry standard h.264 video codec.
Register your product to gain access to bonus material or receive a coupon.
12+ hours of video instruction.
Overview
The professional programmer’s Deitel® video guide to Java™ SE 7 and SE 8 development with the powerful Java™ platform
Description
Written for programmers with a background in high-level language programming, this LiveLesson applies the Deitel signature live-code approach to teaching programming and explores the Java™ language and Java™ APIs in depth. The LiveLesson presents¿concepts in the context of fully tested programs, not code fragments. The LiveLesson features hundreds of complete Java™ programs with thousands of lines of proven Java™ code, and hundreds of tips that will help you build robust applications.
NOTE this LiveLesson is one in a series of four:
Skill Level
Beginner-to-Intermediate
What you Will Learn
This LiveLesson picks up where Java Fundamentals LiveLesson Part I leaves off. Begin with a deep dive into Java classes and objects, then proceed into Deitel's classic treatment of two fundamental OOP concepts: Inheritance and Polymorphism. Next comes exception handling and GUI/Graphics in Java. You finish with two expert lessons that cover strings, characters, files and streams in Java.
Who should take this course?
Programmers experienced in a high-level programming language and interested in building industrial-strength applications in Java and who have mastered the material in Java Fundamentals LiveLessons Part I.
Course requirements
Familiarity with any high-level programming language, including C, C++, C#, JavaScript, etc...
Table of Contents
Lesson 8: Classes and Objects–A Deeper Look
Introduction
Time1 class declaration maintains the time in 24-hour format
Private members of class Time1 are not accessible
"this" used implicitly and explicitly to refer to members of an object
Time2 class with overloaded constructors
Composition demonstration with classes Date and Employee
Declaring an enum type with a constructor and explicit instance fields and accessors for these fields
Garbage Collection
Declaring and using static variables and methods to maintain a count of the number of Employee objects in memory
static import of Math class methods
Package access members of a class are accessible by other classes in the same package
Compound-interest calculations with BigDecimal
Lesson 9: Object-Oriented Programming–Inheritance
Introduction
Inheritance hierarchy UML class diagrams
Creating and using a CommissionEmployee class
Creating and Using a BasePlusCommissionEmployee Class
Creating a CommissionEmployee–BasePlusCommissionEmployee Inheritance Hierarchy
CommissionEmployee–BasePlusCommissionEmployee Inheritance Hierarchy Using protected Instance Variables
CommissionEmployee–BasePlusCommissionEmployee Inheritance Hierarchy Using private Instance Variables
Class Object
Lesson 10: Object-Oriented Programming–Polymorphism
Introduction
Demonstrating Polymorphic Behavior–Assigning superclass and subclass references to superclass and subclass variables
Abstract Classes and Methods
Case Study: Payroll System Using Polymorphism
Abstract Superclass Employee
Concrete Subclass SalariedEmployee
Concrete Subclass HourlyEmployee
Concrete Subclass CommissionEmployee
Indirect Concrete Subclass BasePlusCommissionEmployee
Polymorphic Processing, Operator instanceof and Downcasting
final Methods and Classes
Creating and Using Interfaces (Java SE 7 and earlier)
Developing a Payable Hierarchy
Class Invoice
Modifying Class Employee to Implement Interface Payable
Modifying Class SalariedEmployee for Use in the Payable Hierarchy
Using Interface Payable to Process Invoices and Employees Polymorphically
Java SE 8 Interface Enhancements overview
Lesson 11: Exception Handling–A Deeper Look
Introduction
Integer division without exception handling
Handling ArithmeticExceptions and InputMismatchExceptions
Throwable hierarchy; Introduction to checked and unchecked exceptions
try…catch…finally exception-handling mechanism
Stack unwinding and obtaining data from an exception object
Chained exceptions
Declaring new exception types
Checking with assert that a value is within range
try-with-Resources: Automatic Resource Deallocation
Lesson 12: GUI Components: Part 1
Introduction
Using Java's Nimbus Look-and-Feel
Simple GUI-Based Input/Output with JOptionPane
Common superclasses of the lightweight Swing components
Displaying Text and Images in a Window
Text Fields and an Introduction to Event Handling with the ActionListener interface Nested Classes
Common GUI Event Types and Listener Interfaces
How Event Handling Works
JButton
Buttons That Maintain State: JCheckBox and the ItemListener interface
Buttons That Maintain State: JRadioButton and the ItemListener interface
JComboBox and the ItemListener interface; Using an Anonymous Inner Class for Event Handling
JList and the ListSelectionListener interface
Multiple-Selection Lists
Mouse Event Handling with the MousListener and MouseMotionListener interfaces
Adapter Classes in Event Handling: Mouse Event Handling with the MouseAdapter class
Custom JPanels
Key Event Handling
FlowLayout
BorderLayout
GridLayout
Using Panels to Manage More Complex Layouts
JTextArea and JScrollPane
Lesson 13: Graphics and Java 2D
Introduction
Color control: Drawing rectangles and strings in various colors
Choosing colors with JColorChooser
Displaying strings in different fonts and colors
FontMetrics and Graphics methods useful for obtaining font metrics
Drawing lines, rectangles and ovals
Drawing arcs with Graphics methods drawArc and fillArc
Drawing polygons with Graphics methods drawPolygon and fillPolygon
Demonstrating Java 2D shapes
Java 2D general paths and rotating/translating Java 2D shapes
Lesson 14: Strings, Characters and Regular Expressions
Introduction
String class constructors
String methods length, charAt and getChars
Comparing Strings: String methods equals, equalsIgnoreCase, compareTo and regionMatches
Comparing Strings: String methods startsWith and endsWith
String-searching methods indexOf and lastIndexOf
Extracting substrings from Strings: String class substring methods
String method concat
String methods replace, toLowerCase, toUpperCase, trim and toCharArray
String valueOf methods
StringBuilder constructors
StringBuilder length, setLength, capacity and ensureCapacity methods
StringBuilder methods charAt, setCharAt, getChars and reverse
StringBuilder append methods
StringBuilder methods insert, delete and deleteCharAt
Character static methods for testing characters and converting case
Character class static conversion methods
Character class instance methods
StringTokenizer object used to tokenize strings
Validating user input with regular expressions
String methods replaceFirst, replaceAll and split
Classes Pattern and Matcher
Lesson 15: Files, Streams and Object Serialization
Introduction
Obtaining file and directory information
Writing data to a sequential text file with class Formatter
Reading from a sequential text file using a Scanner
Credit-inquiry program
Creating a Sequential-Access File Using Object Serialization
Reading and Deserializing Data from a Sequential-Access File
Opening Files with JFileChooser
LiveLessons Video Training series publishes hundreds of hands-on, expert-led video tutorials covering a wide selection of technology topics designed to teach you the skills you need to succeed. This professional and personal technology video series features world-leading author instructors published by your trusted technology brands: Addison-Wesley, Cisco Press, IBM Press, Pearson IT Certification, Prentice Hall, Sams, and Que. Topics include: IT Certification, Programming, Web Development, Mobile Development, Home & Office Technologies, Business & Management, and more. View All LiveLessons on InformIT: http://www.informit.com/imprint/series_detail.aspx?ser=2185116