Zero to the zero power: Difference between revisions

Content added Content deleted
(→‎{{header|J}}: expand on the concept)
Line 713: Line 713:
1</syntaxhighlight>
1</syntaxhighlight>


(In <code>*/''</code> we're finding the product of a list which contains no characters. This is, of course, the same as the product of a list which contains no numbers. That said, characters are outside the domain of multiplication in J, so if the list had contained any characters the product would have been an error rather than a result.)
(In <code><nowiki>*/''</nowiki></code> we're finding the product of a list which contains no characters. This is, of course, the same as the product of a list which contains no numbers. That said, characters are outside the domain of multiplication in J, so if the list had contained any characters the product would have been an error rather than a result.)


=={{header|Java}}==
=={{header|Java}}==