代码改变世界

阅读排行榜

Java案例3:时间输出,随机数,数字

2019-08-28 13:36 by 进击的菜鸟123, 291 阅读, 收藏,
摘要: 1.输出一天的时分 public class TimeOut { public static void main(String[] args) { //输出一天的时分 for(int i=0;i<24;i++){ for(int j=0;j<60;j++){ System.out.println(i 阅读全文

Java案例4:求数组最大值,减肥计划

2019-09-11 16:29 by 进击的菜鸟123, 234 阅读, 收藏,
摘要: 1.获取数组中的最大值 public class getArrayMax { public static void main(String[] args) { // TODO Auto-generated method stub int[] arr = {1,4,3,7,9,11,8}; Syste 阅读全文

案例(目前5个案例)

2019-10-10 14:16 by 进击的菜鸟123, 211 阅读, 收藏,
摘要: 案例1:九九乘法表 public class ForNestedDemo { /** * 打印九九乘法表 * @param args */ public static void main(String[] args) { for(int i = 1;i <= 9;i++){ for(int j = 阅读全文

jaxp解析xml

2019-08-16 15:20 by 进击的菜鸟123, 211 阅读, 收藏,
摘要: 1使用jaxp实现查询操作 *查询xml中所有的name的值 Public static void main(String args[]) throws Exception{ DocumentBuilderFactory builderFactory = DocumentBuilderFactory 阅读全文

考生类

2019-10-14 14:43 by 进击的菜鸟123, 187 阅读, 收藏,
摘要: package paet02; public class ExampleDemo01 { public static void main(String[] args) { Student stu = new Student("MLDN-33","李兴华",95.0f,92.0f,93.0f); Sy 阅读全文