Getting the height of a Binary Tree?

How come " height(root.left) and height(root.right) " returns an integer?

public int height(Node root) {

return 1 + Math.max(height(root.left), height(root.right));

}

What else would you expect and why?