Variadic function: Difference between revisions

m
No edit summary
Line 1,440:
commaAnd 'dog';A;B;'cat';C
dog, 2, 3, cat and 5</lang>
 
To print each argument on its own line, we would typically map echo over the arguments (in this example, the contents of each box):
 
<lang J> echo&>'dog';A;B;'cat';C
dog
2
3
cat
5</lang>
 
=={{header|Java}}==
6,951

edits