上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 24 下一页
摘要: package com.itheima; //设计一个方法获取三个整数的较大值,并在控制台打印输出 public class methodmedo09 { public static void main(String[] args) { int max = getmax(10, 20, 30); S 阅读全文
posted @ 2022-08-02 00:05 NiceTwocu 阅读(48) 评论(0) 推荐(0) 编辑
摘要: package com.itheima; //方法重载 /*在同一个类 方法名相同 参数类型不同或参数个数不同 需求:比较两个数是否相等,4种数据类型 */ public class methodmedo11 { public static void main(String[] args) { Sy 阅读全文
posted @ 2022-08-02 00:04 NiceTwocu 阅读(64) 评论(0) 推荐(0) 编辑
摘要: package com.itheima; //返回调用带参数方法的结果 public class methodmedo05 { public static void main(String[] args) { //定义调用的变量 int i=10; i=12; //在main()方法中引用定义好的方 阅读全文
posted @ 2022-08-02 00:03 NiceTwocu 阅读(90) 评论(0) 推荐(0) 编辑
摘要: package com.itheima; //比较相等 public class methodmedo08 { public static void main(String[] args) { //定义两个变量保存输入的值 int a = 10; int b = 20; b=10; //定义一个变量 阅读全文
posted @ 2022-08-02 00:03 NiceTwocu 阅读(31) 评论(0) 推荐(0) 编辑
摘要: package com.itheima; //1-n之间的数求和,n>1 public class methodmedo07 { public static void main(String[] args) { int restul = sum(5); System.out.println("1-5 阅读全文
posted @ 2022-08-02 00:03 NiceTwocu 阅读(54) 评论(0) 推荐(0) 编辑
摘要: package com.itheima; //定义带参数的方法,取较大值 public class methodmedo04 { public static void main(String[] args) { //定义两个变量用于存储数据 int x = 10; int y = 20; //在ma 阅读全文
posted @ 2022-08-02 00:01 NiceTwocu 阅读(52) 评论(0) 推荐(0) 编辑
摘要: package com.itheima; //带参数方法的定义和调用 public class methodmedo03 { public static void main(String[] args) { //定义调用的变量 int i=10; i=11; //在main()方法中引用定义好的方法 阅读全文
posted @ 2022-08-02 00:01 NiceTwocu 阅读(122) 评论(0) 推荐(0) 编辑
摘要: package com.itheima; //带参数的方法,返回较大值 public class methodmedo06 { public static void main(String[] args) { //定义两个变量用于存储数据 int x = 10; int y = 20; //在mai 阅读全文
posted @ 2022-08-02 00:01 NiceTwocu 阅读(82) 评论(0) 推荐(0) 编辑
摘要: package com.itheima; //定义一个方法,判断数字是不是偶数 public class methodmedo01 { public static void main(String[] args) { //记得在main方法中引用方法 iseven(); } //定义一个方法 pub 阅读全文
posted @ 2022-08-01 23:58 NiceTwocu 阅读(15) 评论(0) 推荐(0) 编辑
摘要: 1.下载地址 node.js:https://nodejs.org/en/ 安装直接一直下一步即可 2.python:https://www.python.org/downloads/windows/ pip 镜像:https://mirrors.tuna.tsinghua.edu.cn/help/ 阅读全文
posted @ 2022-08-01 23:57 NiceTwocu 阅读(38) 评论(0) 推荐(0) 编辑
上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 24 下一页