![](https://img-blog.csdnimg.cn/20200311111239765.jpg?x-oss-process=image/resize,m_fixed,h_224,w_224)
Java核心基础
文章平均质量分 89
Java语法 算法 类库 关注Java语言本身。
ProgramZen
心无旁骛,一直在学习的路上,永不停歇!
展开
-
插入排序(Java版)
package algorithm.sort;import cn.hutool.core.lang.Console;/** * @author shenwei.初始数组数据: [-10, -23, 50, 25, 33, 85, -45, 66, 500, 489]第1步排序结果: [-23, -10, 50, 25, 33, 85, -45, 66, 500, 489]第...原创 2020-03-27 16:01:49 · 309 阅读 · 0 评论 -
选择排序(Java版)
package algorithm;import cn.hutool.core.lang.Console;/** * @author shenwei. */public class SelectionSort { public static void main(String[] args) { //定义一个数组 int[] values =...原创 2020-03-26 12:11:29 · 140 阅读 · 0 评论 -
冒泡排序(Java版)
package algorithm;import cn.hutool.core.lang.Console;/** * @author shenwei. */public class EffervescentSort { public static void main(String[] args) { int[] values = {-10, -23, 50,...原创 2020-03-20 17:09:18 · 194 阅读 · 0 评论 -
九九乘法表(Java版)
package algorithm;import cn.hutool.core.lang.Console;/** * @author shenwei. * 描述 九九乘法表的三种方式 * @date 2019-10-21 * @version 1.0 */public class MultiplicationTable { /** * 避免魔法赋值 ...原创 2020-03-25 16:48:47 · 372 阅读 · 0 评论 -
水仙花数(Java版)
package algorithm;import cn.hutool.core.collection.CollUtil;import cn.hutool.core.lang.Console;import java.util.List;/** * @author shenwei. * 描述 水仙花数 * @date 2019-10-21 * @version 1.0 */...原创 2020-03-25 15:30:52 · 395 阅读 · 0 评论