Java Program To Check Prime Numbers In An Array Do The Groups