UPenn - Inheritance and Data Structures in Java
- Offered byCoursera
Inheritance and Data Structures in Java at Coursera Overview
Duration | 21 hours |
Total fee | Free |
Mode of learning | Online |
Difficulty level | Beginner |
Official Website | Explore Free Course |
Credential | Certificate |
Inheritance and Data Structures in Java at Coursera Highlights
- Shareable Certificate Earn a Certificate upon completion
- 100% online Start instantly and learn at your own schedule.
- Course 4 of 4 in the Introduction to Programming with Python and Java Specialization
- Flexible deadlines Reset deadlines in accordance to your schedule.
- Beginner Level High school or college math. 'Introduction to Java and Object-Oriented Programming' Coursera course.
- Approx. 21 hours to complete
- English Subtitles: English
Inheritance and Data Structures in Java at Coursera Course details
- This course provides a comprehensive look at Java inheritance, including access modifiers and overriding methods. Students are introduced to abstract classes, and will learn how to read and write to files, use regular expressions for parsing text, and how to leverage complex data structures like collections and maps.
- Additionally, this course offers strategies for catching errors and debugging code, including an overview of Eclipse?s debugging tool.
Inheritance and Data Structures in Java at Coursera Curriculum
Module 1 : Inheritance, Polymorphism Using Overriding, & Access Modifiers
What to expect from this Course
About the Instructor : Brandon Krakowsky
How to submit assignments in Codio
Module Introduction
Superclasses and subclasses
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
Overriding constructors
Calling an overridden method
Why call an overridden method?
Restricting scope
Public vs. protected vs. default vs. private
Which access modifier should I use?
Getters & setters and encapsulation
Coding Demonstration : Animals management project
Course Layout & Syllabus
Tips to succeed in this course
Navigating Assignments using Codio
Module 1 Resources
How to require @Override in Eclipse
Summary : Overloading vs. Overriding
Quiz 1: Inheritance & Polymorphism - Overriding
Quiz 2 : Access Modifiers
Module 2 : Abstract Classes & Debugging
Module Introduction
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
What is debugging?
Debugging support in Eclipse
Coding Demonstration : Debugging Person class - IndexOutOfBoundsException, & NullPointerException
Coding Demonstration : Debugging syllable counter - Using Step Into, Step Over, & Step Return
Module 2 Resources
Setting breakpoints
Starting the debugger
Controlling program execution
Evaluating variables in the debugger
Returning to the Java perspective
Quiz 3 : Abstract Classes
Quiz 4 : More with Abstract Classes & Debugging
Module 3 : File I/O & Exceptions
Module Introduction
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
Errors vs. exceptions
What to do about errors & exceptions
Dealing with exceptions
The try-catch statement
'finally'
Two ways to deal with exceptions
Using Scanner, & FileNotFoundException
Using FileReader & BufferedReader, & FileNotFoundException, IOException
Using FileWriter & PrintWriter, & IOException
Module 3 Resources
Different kinds of built-in exceptions
Different kinds of built-in errors
Quiz 5 : File I/O
Quiz 6 : More with File I/O & Exceptions
Module 4 : Collections, Maps, & Regular Expressions
Module Introduction
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
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
What is a regular expression?
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()
Module 4 Resources
Sorting & searching collections
Arrays class
Quiz 7 : Collections/Maps
Quiz 8 : More with Collections/Maps & Regular Expressions
Other courses offered by Coursera
Inheritance and Data Structures in Java at Coursera Students Ratings & Reviews
- 4-51