A.Inheritance B.Tight coupling C.Low cohesion D.High cohesion E.Loose coupling
A.2 B.3 C.12 D.23
A.test B.null C.An exception is thrown at runtime. D.Compilation fails because of an error in line 1. E.Compilation fails because of an error in line 4. F.Compilation fails because of an error in line 5.
A.Compilation fails. B.An exception is thrown at runtime. C.doStuff x = 6 main x = 6 D.doStuff x = 5 main x = 5 E.doStuff x = 5 main x = 6
A.Canada B.null Canada C.Canada null D.Canada Canada E.Compilation fails due to an error on line 26.