remove elements from an arry and print new arry code example Example: hhow to remove elements from java how to remove elements from java