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
相關文章
相關標籤/搜索