
Part I 1. Implement a class AVLTree that generates AVL tree objects. The class must contain the following methods: Instance Methods Constructors: (i) AVLTree() -default constructor initializes an empty tree (ii) AVLTree (Comparable[] values)-overloaded constructor builds an AVL tree using the array values Setters: (i) void add (Comparable e) adds an object into the AVL tree into a position that maintains the BST property. Performs the necessary rotations to rebalance any imbalances e Getters: (i) boolean
PayPal Gateway not configured
PayPal Gateway not configured