Computer Science 225
Advanced Programming
Spring 2020, Siena College
Lecture 31: Merge Conflicts; Files, NIO.2 and Exceptions; Java Odds and Ends
Date: Friday, April 24, 2020
Agenda
- Announcements
- Final Project: see email about presentation plans
- Lab 8: Threads for Parallel Processing
- continue through the weekend without penalty
- all point values doubled (worth 200 points)
- For in-class branching from Monday, get that done soon
- Lab 9: Working with Regular Expressions due at
the start of your lab meeting times next week
- Lab meetings next week will consist of some recaps of key
topics from recent labs, then time to work on final projects
- About course evaluations
- More Git skills: merge conflicts, the correct final version on GitHub is worth 5 points
- Files and Exception Handling (video/notes/examples only)
- More Java: Odds and Ends
- Enumerated types
- The final keyword
- Access control with overriding
Terminology
- exceptions
- error detection
- error handling
- throws clause
- exception handler
- try with resources
- enumerated type
- covariant return type
- final class
- final method
- immutable
Examples