VERIFIED ANSWERS
\.Interfaces and Multiple Inheritances - ANSWERS-Interfaces have methods
defined without any code and a class can inherit those the interface to fill in those
methods
\.Inner and Outer Classes (what does this mean for inner classes) - ANSWERS-
Inner classes have access to variables in outer class
\.Exception Handling is seen in 3 blocks what are they - ANSWERS-Try, catch,
finally
\.Abstract Classes vs. Interface - ANSWERS-AC: Have normal and abstract methods
(methods without code)
I: has strictly abstract methods
\.Constructor Invocation in Derived Class (calling parent constructor from child
class) - ANSWERS-Subclass that uses super() to call its parent class constructor
\.Abstract Class Definition - ANSWERS-Contains abstract and normal methods.
, Meant to be extended by other classes.
\.Exception Throwing is specific and direct, what is the keyword used? - ANSWERS-
"throw"
\.Anonymous Class Definition - ANSWERS-Has no name and cannot be used to
create objects/instances
\.Implementing Multiple Interfaces is it possible (Y/N) and why - ANSWERS-Is
possible, use extend keyword, separate interfaces by comma
\.Interface Inheritance - ANSWERS-Interfaces that extend other interfaces
\.Instantiation of Abstract Class (construction - ANSWERS-Cannot be instantiated
directly, only through concrete subclass Eg Animal abstract class and dog concrete
class to instantiate it
\.Exception Class Hierarchy - ANSWERS-Distinction between errors and exceptions.
Exceptions: something the program should catch
Errors: something the program should not catch