This Problem Set Is Due By 11:59 PM on December 15, 2013

  1. Binary Tree Node (5 points)

    Design and develop a class that represents a Binary Tree Node. This class will have the following private attributes:

    • leftChild - A pointer to the left child of the node.
    • number - An integer.
    • rightChile - A pointer to the right child of the node.

    Your class should have the following public methods and constructors:

    • BinarTreeNode() - A constructor that initializes all attributes to null and 0.
    • BinaryTreeNode(int i) - A constructor that sets the number attribute to the specified i and the other attributes to null.
    • get & set methods for all the attributes.

    Name this class BinaryTreeNode
    Place this class in the edu.cuny.lehman.cmp326.trees.binary package.

  2. (5 points)

          

    Name this program

  3. (5 points)

          

    Name this program

  4. (5 points)

          

    Name this program

  5. (5 points)

          

    Name this program

Please submit the completed assignment on Blackboard by attaching all your .java files. Make sure to attach all your programs to each submission.