Examlex

Solved

Consider the Method Below, Which Prints the Digits of an Arbitrary

question 61

Multiple Choice

Consider the method below, which prints the digits of an arbitrary positive integer in reverse order, one digit per line.The method should print the last digit first.Then, it should recursively print the integer obtained by removing the last digit.Select the statements that should be used to complete the method.

Consider the method below, which prints the digits of an arbitrary positive integer in reverse order, one digit per line.The method should print the last digit first.Then, it should recursively print the integer obtained by removing the last digit.Select the statements that should be used to complete the method.      A)    B)    C)    D)


Definitions:

Related Questions