difference between new int[10] and new int(10)
new int[10]
creates an int array with 10 elements. The values are undefined.
new int(10)
creates an int with value 10
Last edited on
Nothing, as far as declaration is concerned... (as far as my knowledge exists)