Difference between revisions of "Print Array"
From CompSciWiki
Line 18: | Line 18: | ||
|Solution=The solution... | |Solution=The solution... | ||
+ | |||
+ | |||
+ | |Code | ||
<pre> | <pre> | ||
public static void printArray( int[] n ) | public static void printArray( int[] n ) |
Revision as of 11:31, 6 April 2010
Back to the Program-A-Day homepage
ProblemWrite a method which will take an array of ints as a parameter.
The method should print the elements of the array, separated by a comma.
|
SideSectionTitle
An image or By Students section | |
---|---|---|
SolutionThe solution... | ||
CodeSolutionCode goes here. Please DO NOT put your code in <pre> tags! |