[ Team LiB ] Page 628
[ Team LiB ] 10 Fundamental Classes 10.1 (b) The method hashCode() in the Object class returns a hash code value of type int. 10.2 (e) All arrays are genuine objects and inherit all the methods defined in the Object class, including the clone() method. Neither the hashCode() method nor the equals() method is declared final in the Object() class, and it cannot be guaranteed that implementations of these methods will differentiate between all objects. 10.3 (a) The clone() method of the Object class will throw a CloneNotSupportedException if the class of the object does not implement the Cloneable interface. 10.4 (a), (c), and (d) The class java.lang.Void is considered a wrapper class, although it does not wrap any value. There is no class named java.lang.Int, but there is a wrapper class named java.lang.Integer. A class named java.lang.Stringalso exists, but it is not a wrapper class since all strings in Java are objects. 10.5 (c) and (d) The classes Character and Boolean are non-numeric wrapper classes and they do not extend the Number class. The classes Byte, Short, Integer, Long, Float, and Double are numeric wrapper classes that extend the Number class. 10.6 (a), (b), and (d) All instances of wrapper classes are immutable. Page 629
Hint: If you are looking for very good and affordable webspace to host and run your tomcat hosting application check Sandzak.com tomcat web hosting provider