In Java, true or false for each. Explain if possible for each.
1. Exceptions in Java can be handled with a try-catch block.
2. In general, checked exceptions are problems that occur outside the programmer's control, whereas unchecked exceptions are usually the programmer's fault.
3. The most specific exceptions should be caught first.
4. Your code should only catch exceptions if the problem can be remedied immediately.
5. A programmer can create Exception Types.
6. Once a try block is entered, the statements in a finally clause are guaranteed to be executed, whether or not an exception is thrown.
7. Use the new operator, followed by a class name and parameters, to construct new objects.
8. The object constructor is used to initialize a new object.
9. The constructor should be declared to return void.
10. A mutator method must not change the state of an object.
11. Public properties and methods are called the public interface of the class.
12. The implementation of public methods should never change because that will break existing code.
13. The private data of a class may change without breaking existing code.
14. The variable that is assigned an object instance holds a reference to (or location of) the object in memory.
15. An uninitialized object variable is said to be null.
16. An object can only be referenced by one variable.