Week 5 - Enums, Records and Inner classes
Summary
There are still a number of programming techniques in Java that may improve your code.
You may find a way to apply these techniques in your exam or in a future project.
Theory
- Enumerations give you a structured way to declare a fixed set of constants.
- Records provide an easy way to store some structured data without the need for methods.
- Anonymous and Inner classes can structure your methods while maintaining encapsulation.
- JDBC