会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
安苏暮
博客园
首页
新随笔
联系
订阅
管理
2021年3月12日
简单的面向对象编程
摘要: package com.atanjin.exercise; /*此代码是练习1的一个改进,将操作数组的功能封装到方法中 * */ public class MethodExercise2 { public static void main(String[] args) { Student2 s[]
阅读全文
posted @ 2021-03-12 10:58 安苏暮
阅读(26)
评论(0)
推荐(0)
2021年3月11日
简易的冒泡排序
摘要: package come.atanjin.java;/* * 数组的冒泡排序的实现 */public class BubbleSortTest { public static void main(String[] args) { int arr[] = new int[]{2,15,5,152,58
阅读全文
posted @ 2021-03-11 18:01 安苏暮
阅读(48)
评论(0)
推荐(0)
2021年3月9日
java输出菱形
摘要: class ForForTest { public static void main(String[] args) { for(int i = 1;i<=11;i+=2){//控制行数 for(int m = 1;m<=11-i;m+=2){ System.out.print(" "); } for
阅读全文
posted @ 2021-03-09 19:58 安苏暮
阅读(334)
评论(0)
推荐(0)
公告