array cancellation in java code example Example: hhow to remove elements from java how to remove elements from java