Here are tips and tricks for handling covariant return types, final classes and methods, joint-union generic types, and AutoCloseable classes in Java.