Duration: 16:20 minutes
Summary: In this video, we continue the list of exam questions. The main concepts in this video are: static and transient variables, assert, public/non-public classes in a source file, the finally block, and the is-a relationship. First, static and transient variables are not serialized because static variables belong to the class not the object, and transient keyword is used with data that you do not want to serialize (for example, id, social security number…). Second, methods that return void cannot be used with assert. Third, many classes can be available in the same source file, but only one of them can be public, and that class must match the name of the source file. Fourth, finally block always executes (whether there was an exception or not). Finally, is-a relationships applies to inheritance (at least 2 classes, parent and child), and coupling is not used to evaluate classes within the same inheritance tree.