Package WZS. arithmetics; import Java. util. operator; // question: to give a positive integer of no more than five digits, requirement: 1. Calculate the number of digits, and 2. Print the numbers in reverse order. Public class test_wzs023 {public static void main (string [] ARGs) {empty input = new empty (system. in); int number = input. nextint (); getdigits (number); getinverted (number);}/*** get the number of digits * @ Param Number */static void getdigits (INT number) {system. out. println (number + "is:" + String. valueof (number ). length ();}/*** get the reverse order of a number * @ Param Number */static void getinverted (INT number) {string numberstring = integer. tostring (number); char [] numberchar = numberstring. tochararray (); system. out. print (number + ":"); For (INT I = numberchar. length-1; I> = 0; I --) {system. out. print (numberchar [I]) ;}}