how to explicitly write an array in java code example Example: how to explicitly declare an array java /* example: */ int[] nums = {5, 35, 7, 256};