摘要: 12's factors are: {1,2,3,4,6,12} 阅读全文
posted @ 2019-05-14 23:36 Zhentiw 阅读(187) 评论(0) 推荐(0)
摘要: Aspect-Oriented Programming (AOP) complements Object-Oriented Programming (OOP) by providing another way of thinking about program structure. The key 阅读全文
posted @ 2019-05-14 23:27 Zhentiw 阅读(273) 评论(0) 推荐(0)
摘要: Previously we use Application Context to get Bean and Dependenies injection. It is actually easier to use 'CommonLineRunner'. Main beneift is we can u 阅读全文
posted @ 2019-05-14 23:15 Zhentiw 阅读(795) 评论(0) 推荐(0)
摘要: Given a number N, the output should be the all the prime numbers which is less than N. The solution is called Sieve of Eratosthenes: First of all, we 阅读全文
posted @ 2019-05-14 23:09 Zhentiw 阅读(332) 评论(0) 推荐(0)