You have the class Tree:
class Tree {
String sort;
int age;
double height;
}
After you execute the following code,
Tree tree1 = new Tree();
Tree tree2 = tree1;
Tree tree3 = tree2;
tree1 = new Tree();
tree1.age = 5;
tree2.age = 10;
tree3 = null;
what will be the value of tree1.age ?