上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 24 下一页
摘要: 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 阅读(63) 评论(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 阅读(138) 评论(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 阅读(94) 评论(0) 推荐(0)
摘要: package com.itheima; //定义一个方法,判断数字是不是偶数 public class methodmedo01 { public static void main(String[] args) { //记得在main方法中引用方法 iseven(); } //定义一个方法 pub 阅读全文
posted @ 2022-08-01 23:58 NiceTwocu 阅读(24) 评论(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 阅读(55) 评论(0) 推荐(0)
摘要: package com.itheima; //取两个数的最大值 public class methodmedo02 { public static void main(String[] args) { //在main()方法中引用定义好的方法 getmax(); } //定义一个方法getmax() 阅读全文
posted @ 2022-08-01 23:57 NiceTwocu 阅读(103) 评论(0) 推荐(0)
摘要: 1 . 创建文件夹 2.创建一个suite 记得点击ctrl+s,这个文件夹会多出这两个东西 3.引入Browser库 这里也要ctrl+s保存 4.建一个testcase 5.打开百度网页 按f8或者点击上方三角形运行 6.完整的测试用例 阅读全文
posted @ 2022-08-01 23:56 NiceTwocu 阅读(30) 评论(0) 推荐(0)
摘要: package com.itheima; import com.sun.xml.internal.ws.api.model.wsdl.WSDLOutput; /* 求100以内奇数的和 / public class forDemo05 { public static void main(String 阅读全文
posted @ 2022-07-28 21:54 NiceTwocu 阅读(440) 评论(0) 推荐(0)
摘要: package com.itheima; /* 纸张的厚度为0.001m,珠穆朗玛峰的高度为(8848.86m),请问要折叠多少次纸就可以保证纸张厚度不低于珠穆朗玛峰的高度? */ public class forDemo06 { public static void main(String[] a 阅读全文
posted @ 2022-07-28 21:54 NiceTwocu 阅读(203) 评论(0) 推荐(0)
摘要: package com.itheima; import com.sun.xml.internal.ws.api.model.wsdl.WSDLOutput; /* 小芳存钱 需求:小芳的妈妈每天给他2.5元钱,她都会存起来, 但是,每当这一天是存钱的第5天或者5的倍数的话,她都会 花去6元钱,请问, 阅读全文
posted @ 2022-07-28 21:54 NiceTwocu 阅读(167) 评论(0) 推荐(0)
上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 24 下一页