#13197: 求解JAVA題目


nina042152086 (unknown)

學校 : 國立高雄第一科技大學
編號 : 74189
來源 : [163.18.38.88]
最後登入時間 :
2018-01-05 11:21:12
a111. 12149 - Feynman -- UVa12149 | From: [125.227.224.163] | 發表日期 : 2018-01-03 11:26

Write a Java program to check if number is palindrome comes from same category. For those who are not familiar with palindrome numbers, palindrome number is a number which is equal to reverse of itself. For example 121 is a palindrome because reverse of 121 is 121, while 123 is not a palindrome in Java because reverse of 123 is 321 and 121!=321. A method, called isPalindrome, is declared as below.

public static boolean isPalindrome(int number)

 
ZeroJudge Forum