Java Midterm Review Sheet (Shamelessly ripped from Head ...

They are given default values if these values are not explicitly set: integers get set to 0. ... Cat c = new Object() is wrong. Cat c = new Animal() is wrong. ... If we have Class B extend Class A and implement interface C, and instantiate an object b of type B, then the following will return true: b instanceof A. ................
................