Java:利用字符数组将整数反转

package com.zbj.demo; import org.junit.Test; public class NumReverse { int a = 1234; int b = -6379; @Test public void numreverse() { char[] chars = ("" + b).toCharArray(); int i = 0, j = ch
相关文章
相关标签/搜索