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