原创 判斷迴文串
package suanfa; import java.util.Scanner; public class Palindrome {public static void main(String[] ar
原创 redis序列化java8 LocalDateTime
org.springframework.data.redis.serializer.SerializationException: Could not read JSON: Can not construct instance of
原创 Singleton模式之餓漢模式
package suanfa; public class Singleton {//餓漢模式private Singleton(){}private final static Singleton inst
原创 求1+3+5+...+99的和
package suanfa; public class Test {public static void main(String[] args) { int n = 99;
原创 Spring4整合MyBatis3(2)
fkbookapp/WebContent/WEB-INF/web.xml <?xml version="1.0" encoding="UTF-8"?> <web-app xmlns:xsi="http://www.w3.org/2001/
原创 選擇排序算法
package suanfa; public class SelectSort {static final int SIZE=10;public static void selectSort(int[]