上一页 1 ··· 5 6 7 8 9 10 下一页
摘要: 在模块测试时我们主要从以下几个方面考虑: 1. 模块接口; 2. 局部数据结构; 3. 重要执行通道; 4. 出错处理通道; 5. 影响上述方面的边界条件。 测试时进行代码审查,从数据类型,变量声明,数据结构进行审查,然后进行功能测试,从输入一些简单的数据开始执行一遍,观测运行期间变量的变化,运行中 阅读全文
posted @ 2021-01-05 14:58 杜广超 阅读(325) 评论(0) 推荐(0)
摘要: CREATE TABLE blog ( id INT NOT NULL PRIMARY KEY AUTO_INCREMENT, title VARCHAR(128) NOT NULL, text TEXT, preview VARCHAR(128), author VARCHAR(32), cate 阅读全文
posted @ 2021-01-05 14:14 杜广超 阅读(169) 评论(0) 推荐(0)
摘要: { path: '/tourcard', icon: 'android-settings', name: 'tourcard', title: '父路由', component: Main, children: [{ path: 'tourcard-card', title: '子路由1', nam 阅读全文
posted @ 2021-01-05 13:59 杜广超 阅读(94) 评论(0) 推荐(0)
摘要: import Vue from "vue"; import Router from "vue-router";// 引用路由 import Home from "./views/Home.vue";//导入方法1 Home页面 Vue.use(Router); export default new 阅读全文
posted @ 2021-01-05 13:58 杜广超 阅读(217) 评论(0) 推荐(0)
摘要: import Vue from "vue"; //导入vue import App from "./App.vue";//导入 app.vue 主组件 import router from "./router";//导入路由 也可以写 router.js import store from "./s 阅读全文
posted @ 2021-01-05 13:55 杜广超 阅读(141) 评论(0) 推荐(0)
摘要: 第一题复制代码package com.hp.www;public class Demo2 { public static void main(String[] args) { String s = "Hello-World"; System.out.println("是否相等,-"+s.equals 阅读全文
posted @ 2020-10-19 22:39 杜广超 阅读(68) 评论(0) 推荐(0)
摘要: 第七题:1.定义方法 isSXH(int num)功能:判断数字num是否是水仙花数,如果是返回true,如果不是返回false2.在主方法中,键盘录入数据,调用isSXH方法,判断传入的数据是否为水仙花数,如果是就输出"xxx为水仙花数",否则就输出"xxx不是水仙花数"演示: 请输入一个三位整数 阅读全文
posted @ 2020-10-18 22:37 杜广超 阅读(133) 评论(0) 推荐(0)
摘要: 第一题:分析以下需求,并用代码实现手机类Phone属性:品牌brand价格price行为:打电话call()发短信sendMessage()玩游戏playGame()要求:1.按照以上要求定义类,属性要私有,生成空参、有参构造,setter和getter方法2.定义测试类,在main方法中创建该类的 阅读全文
posted @ 2020-10-16 13:19 杜广超 阅读(148) 评论(0) 推荐(0)
摘要: 第一题复制代码package com.hp.day4;import com.sun.xml.internal.fastinfoset.tools.XML_SAX_StAX_FI;public class test1 { public static void main(String[] args) { 阅读全文
posted @ 2020-10-15 13:26 杜广超 阅读(55) 评论(0) 推荐(0)
摘要: 第一题 package com.hp.www; public class day3 { public static void main(String[] args) { int[] arr={2,3,4,5,6,7,8,9,10,11}; //遍历打印 // for (int i = 0; i < 阅读全文
posted @ 2020-10-14 13:24 杜广超 阅读(102) 评论(0) 推荐(0)
上一页 1 ··· 5 6 7 8 9 10 下一页