1.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).

```
public class IntegerSet {
/**
* Creates a new instance of IntegerSet
*/
boolean a = false;
int input;
//implement the constructor
public boolean IntegerSet(){
int[]a = new int[101];
for (int i=0; i < 101; i++)
for (i = 0;i<a.length;i++){
if (a[i] == input) {
return true;
}
}
return false;
}
```

Can someone see if my understanding is correct?