Uncategorized Print Only Unique Elements In Array In Java / Distinct values in array in javascript. We can not print arrays in java using a plain system.out.println() method.