Question: 10.1 All the classes in Java form a single tree, called the Java inheritance tree. What is the size of the Java inheritance tree in

10.1 All the classes in Java form a single tree, called the Java inheritance tree. What is the size of the Java inheritance tree in Java 1.3? a. b. c. What is the root of the tree? What kind of node is a final class in the Java inheritance tree? 10.2 True or false: a. The depth of a node in a tree is equal to the number of its ancestors. b. The size of a subtree is equal to the number of descendants of the root of the subtree. c. If x is a descendant of y, then the depth of x is greater than the depth of y. d. If the depth of x is greater than the depth of y, then x is a descendant of y e. A tree is a singleton if and only if its root is a leaf f. Every leaf of a subtree is also a leaf of its supertree. g. The root of a subtree is also the root of its supertree. h. The number of ancestors of a node equals its depth. i. If R is a subtree of S and S is a subtree of T, then R is a subtree of T j. A node is a leaf if and only if it has degree 0. k. In any tree, the number of intermal nodes must be less than the number of leaf nodes. I. A tree is full if and only if all of its leaves are at the same level. Every subtree of a full binary tree is full Every subtree of a complete binary tree is complete. m. n
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
