本文介绍了如何将0加为08,而不是25加为025的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,我想打印一系列数字,但是如果它小于9,则应该打印09,否则,如果它大于9,则我不想将0加到整数中.我想要的数字系列是03 06 09 15 20 22

Java中还有一种对数组进行排序的方法?可以在这里让我知道是哪一个吗?据我所知,Sort();

在此先谢谢您.

Hi Guys, I want to print the series of numbers but if its less then 9 it should print 09 other then that if its more then 9, I don''t want 0 add to the integar e.g. series of number I want is 03 06 09 15 20 22

Also there is a method in java that sorts an array?? Could any one here let me know which one is it ?? As far as I know its something.Sort();

Thanks in advance.

推荐答案



这篇关于如何将0加为08,而不是25加为025的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-31 17:10