Answer the following questions and also justify your answers with appropriate examples
Question: How many parameters are supposed to be passed to the constructor or how big to create the array?
Part a: Method Union comparing two different objects?
Create class IntegerSet. Each IntegerSet object can hold integers in the range 0-100. The set is represented by an array of bools. Array element a[i] is true if integer i is in the set.
Array element a[j] is false if integer j is not in the set. The parameterless constructor initializes the array to the "empty set" (i.e., a set whose array representation contains all false values).
Provide the given methods:
1. Method Union creates a third set that's the set-theoretic union of two existing sets (i.e., an element of the third set's array is set to true if that element is true in either or both of the existing sets-otherwise, the element of the third set is set to false).
2. Method Intersection creates a third set which is the set-theoretic intersection of two existing sets (i.e., an element of the third set's array is set to false if that element is false in either or both of the existing sets-otherwise, the element of the third set is set to true).
3. Method InsertElement inserts a new integer k into a set (by setting a[k] to true).
4. Method DeleteElement deletes integer m (by setting a[m] to false).
5. Method ToString returns a string containing a set as a list of numbers separated by spaces.
Add only those elements that are show in the set. Use to represent an empty set.
6. Method IsEqualTo determines whether two sets are equal.
Please show all your work and provide an explanation of steps