Can Recursive Methods Be Void?
Can Recursive Methods Be Void? The name of the method is countdown ; it takes a single integer as a parameter. If the parameter is 0, it displays the word Blastoff!. Otherwise, it displays the number and then invokes itself, passing n – 1 as the argument. Does a recursive method have to return something?