Computer Science 225
Advanced Programming
Spring 2020, Siena College
Lecture 32: Java Odds and Ends
Date: Monday, April 27, 2020
Agenda
- Announcements
- Final Project
- planning presentation schedule
- sign up to be included in the Academic Showcase Virtual
Poster Session if your group wishes to take advantage of the
bonus opportunity
- Lab 8: Threads for Parallel Processing and
Lab 9: Working with Regular Expressions should be
wrapped up before your lab sessions this week, so we can spend the
start of those meetings going over key points, then time to work
on projects
- Complete in-class branching/merging exercises from last week
any time before the semester ends
- Our final exam slot is official: Thursday, May 7, 1:30-3:30
- Your answers to questions about today's topics should go into
the Google Classroom assignment document for 5 points - do it while
we're in the class meeting or while you're watching the recording if
you can't attend synchronously
- Java Odds and Ends
- covariant return types
- final and inheritance
- polymorphic names
- initializer blocks
Terminology
- covariant return type
- final class
- final method
- immutable
- polymorphism
- overloading
- overriding
- shadowing
- hiding
- obscuring
- initializer blocks
- static initializer block
- instance initializer block
Examples