Is the class below mutable or immutable? If mutable: a) prov…
Is the class below mutable or immutable? If mutable: a) provide client code that will mutate it; and b) provide an immutable version of it (your solution has to be minimal, i.e., make the minimal changes possible, or you might loose points). If immutable, provide a convincing argument why it is so. class SomeClass { public char arr) { this.arr = arr; } public char [] getArray() { return arr; } }