Java Fundamentals LiveLessons Part II

The professional programmer’s Deitel® video guide to Java™ SE 7 and SE 8 development with the powerful Java™ platform

Java Fundamentals LiveLessons Part II

Course Description

Written for programmers with a background in high-level language programming, this LiveLesson from Pearson applies the Deitel signature live-code approach to teaching programming and explores the Java™ language and Java™ APIs in depth. The LiveLesson from Pearson 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. This LiveLesson is one in a series of four: Java Fundamentals LiveLessons Part I Java Fundamentals LiveLessons Part III Java Fundamentals LiveLessons Part IV What you will learn: This LiveLesson picks up where Java Fundamentals LiveLesson Part I leaves off. Begin with a deep dive into Java classes... Read More »

Written for programmers with a background in high-level language programming, this LiveLesson from Pearson applies the Deitel signature live-code approach to teaching programming and explores the Java™ language and Java™ APIs in depth. The LiveLesson from Pearson 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.

This LiveLesson is one in a series of four:

  • Java Fundamentals LiveLessons Part I
  • Java Fundamentals LiveLessons Part III
  • Java Fundamentals LiveLessons Part IV

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.

Read Less
Course Details:

Target Audience

  • 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.
  • Prerequisites

  • People should have some knowledge of C++, C, C# or JavaScript.
  • Certificate Info:

    Type of Certification

    Certificate of Completion

    Format of Certification

    Digital and Print

    Professional Association/Affiliation

    This certificate is issued by Pearson LearnIT

    Method of Obtaining Certification

    Upon successful completion of the course, participants will receive a certificate of completion.

    Course Outline

  • 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
  • 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
  • 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
  • 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
  • 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
  • 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
  • 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
  • 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
  • DON'T HAVE TIME?

    We can send you everything you need to know about this course through email.
    We respect your privacy. Your information is safe and will never be shared.