Module 1 : Inheritance, Polymorphism Using Overriding, & Access Modifiers-1. Course Introduction
What to expect from this Course
()
About the Instructor : Brandon Krakowsky
()
Course Layout & Syllabus
Tips to succeed in this course
Navigating Assignments using Codio
How to submit assignments in Codio
()
Module 1 : Inheritance, Polymorphism Using Overriding, & Access Modifiers-2. Module Introduction & Resources
Module Introduction
()
Module 1 Resources (DOWNLOAD RELEVANT CODE AND/OR DATA FILES FOR THIS MODULE HERE)
Module 1 : Inheritance, Polymorphism Using Overriding, & Access Modifiers-3. Inheritance
Superclasses and subclasses
()
Module 1 : Inheritance, Polymorphism Using Overriding, & Access Modifiers-4. Polymorphism – Overriding
A review of method signatures
()
How to override a method
()
Why override a method?
()
Overriding toString
()
A review of overriding equals
()
Overriding equals for JUnit tests
()
How to require @Override in Eclipse
Module 1 : Inheritance, Polymorphism Using Overriding, & Access Modifiers-5. Constructors & Calling Overriden Methods
Overriding constructors
()
Calling an overridden method
()
Why call an overridden method?
()
Summary : Overloading vs. Overriding
Module 1 : Inheritance, Polymorphism Using Overriding, & Access Modifiers-7. Access Modifiers
Restricting scope
()
Public vs. protected vs. default vs. private
()
Which access modifier should I use?
()
Getters & setters and encapsulation
()
Coding Demonstration : Animals management project
()
Module 2 : Abstract Classes & Debugging-1. Module Introduction & Resources
Module Introduction
()
Module 2 Resources (DOWNLOAD RELEVANT CODE AND/OR DATA FILES FOR THIS MODULE HERE)
Module 2 : Abstract Classes & Debugging-2. Abstract Classes
Abstract methods
()
Declaring abstract classes
()
Extending abstract classes
()
Combining abstract & non-abstract methods
()
Why have abstract classes?
()
Common syntax errors with subclasses
()
Possible solutions to the syntax problem
()
Solution to syntax problem using abstract class
()
Code Along : Pet project
()
Module 2 : Abstract Classes & Debugging-4. Debugging
What is debugging?
()
Debugging support in Eclipse
()
Setting breakpoints
Starting the debugger
Controlling program execution
Evaluating variables in the debugger
Returning to the Java perspective
Module 2 : Abstract Classes & Debugging-5. Demonstrations
Coding Demonstration : Debugging Person class - IndexOutOfBoundsException, & NullPointerException
()
Coding Demonstration : Debugging syllable counter - Using Step Into, Step Over, & Step Return
()
Module 3 : File I/O & Exceptions-1. Module Introduction & Resources
Module Introduction
()
Module 3 Resources (DOWNLOAD RELEVANT CODE AND/OR DATA FILES FOR THIS MODULE HERE)
Module 3 : File I/O & Exceptions-2. File I/O
Why Java I/O is difficult
()
Streams
()
How to do I/O
()
Opening & reading a file, using FileReader & BufferedReader
()
Opening & reading a file, using Scanner
()
File writing, using FileWriter & PrintWriter
()
File writing, using FileWriter & BufferedWriter
()
File types
()
Module 3 : File I/O & Exceptions-4. Exceptions
Errors vs. exceptions
()
What to do about errors & exceptions
()
Dealing with exceptions
()
The try-catch statement
()
'finally'
()
Two ways to deal with exceptions
()
Different kinds of built-in exceptions
Different kinds of built-in errors
Module 3 : File I/O & Exceptions-5. Demonstrations
Using Scanner, & FileNotFoundException
()
Using FileReader & BufferedReader, & FileNotFoundException, IOException
()
Using FileWriter & PrintWriter, & IOException
()
Module 4 : Collections, Maps, & Regular Expressions-1. Module Introduction & Resources
Module Introduction
()
Module 4 Resources (DOWNLOAD RELEVANT CODE AND/OR DATA FILES FOR THIS MODULE HERE)
Module 4 : Collections, Maps, & Regular Expressions-2. Collections & Maps
About the Collections Framework
()
Types of collections & “collection-like” things (maps)
()
Methods in the collection interface
()
Implementations
()
List interface
()
Deque interface
()
Set interface
()
Map interface
()
General rules for selecting an implementation
()
Iterator
()
Sorting & searching collections
Arrays class
Module 4 : Collections, Maps, & Regular Expressions-3. Demonstrations
Coding Demonstration : Remove range from a list using an Iterator
()
Coding Demonstration : Add stars to a list using ArrayList
()
Coding Demonstration : Count words using a HashMap
()
Coding Demonstration : Count unique words using a HashSet
()
Coding Demonstration : Set food toppings using a HashMap
()
Module 4 : Collections, Maps, & Regular Expressions-5. Regular Expressions
What is a regular expression?
()
Module 4 : Collections, Maps, & Regular Expressions-6. More Demonstrations
Coding Demonstration : Split a String using str.split()
()
Coding Demonstration : Replace all with a pattern using str.replaceAll()
()
Coding Demonstration : Get parts of a phone number using groups and character classes
()
Coding Demonstration : Replace an area code using str.replaceFirst()
()