摘要:
ROWID: 表中的每一行在数据文件中都有一个物理地址,ROWID伪列返回的就是该行的物理地址。使用ROWID可以快速的定位表中的某一行,ROWID值可以唯一的标识表中的一行,由于ROWID返回的是该行的物理地址,因此使用ROWID可以显示行是如何存储的。SELECT ROWID, ename FR... 阅读全文
摘要:
Common command in SQL: select, inert, update, delete, create, dropDML(Data Manipulation Language): use to query or modify dataINSERT, UPDATE, DELETEDDL(Data Definition Language): use to define data structure, such as create/update/delete database objectCREATE TABLE, ALTER TABLE, DROP TABLE, CREATE I 阅读全文
摘要:
1. sendRedirectresponse.sendRedirect();Server follow the logic, send a link to browser and browser will invoke the link with previous session, request again; The request.setAttribute can’t use.2. include:Will show the content of current page and included page, and the address link not change. And th 阅读全文
摘要:
冒泡排序-时间复杂度为O(N^2)-稳定排序:var a = [49 ,38, 65 ,97 ,76 ,13 ,27, 49];var length = a.length;var temp;for(var i = 0; i < a.length; i++) { for(var j = 0; j < a.length - i; j++) { if(a[j] > a[j + 1]) { temp = a[j]; a[j] = a[j + 1]; a[j + 1] = temp; } }}console.log(a.join(" "));选择排序-时间复杂度为O 阅读全文
摘要:
1. Introduce Selenium, and the benefit of Selenium?a. Selenium is a open-source testing framework for web, the test case can use HTML table and HTML code or popular program language develop, and it can execute in all browsers. Selenium can be deploy in Windows, Linux or Macintosh platform. It suppor 阅读全文
摘要:
/catalog/cd/price -- get price elements under catelog/cd//cd -- get all cd elements of file/catalog/cd/* -- get all elements under cd/catalog/*/price/*/*/price//* -- get all elements of file--Get elements/catalog/cd[0] -- get the first element which name is cd under catalog/catalog/cd[last()] -- get 阅读全文
摘要:
Client:Socket socket = new Socket("localhost", 8882); //初始化socket,如果是server端则多一个ServerSocket的初始化BufferedReader sis = new BufferedReader(new InputStreamReader(System.in)); //获得系统输入流BufferedReader is = new BufferedReader(new InputStreamReader(socket.getInputStream())); //得到socket的输入流,就是从serv 阅读全文
摘要:
1. 黑盒测试和白盒测试常用的测试方法有哪些?a. 白盒测试:逻辑覆盖法,主要包括语句覆盖,判断覆盖,条件覆盖,判断条件覆盖,条件组合覆盖,路径覆盖。b. 黑盒测试:等价类划分,边界值分析,错误推测法,因果图法等2. 静态测试和动态测试的概念。a. 静态测试是指不运行被测试程序本身,仅通过分析或检查源程序的语法、结构、过程、接口等来检查程序的正确性。对需求规格说明书、软件设计说明书、原程序做结构分析、流程图分析、符号执行来找错。b. 动态测试是指通过运行被测程序,检查运行结果与预期结果的差异,并分析运行效率和健壮性等性能;这种方法由三部分组成:构造测试实例、执行程序、分析程序的结果。所谓的软件 阅读全文
摘要:
1. Aspects of OO?a. Abstractb. Inheritancec. polymorphismsd. encapsulation2. The difference between RuntimeException and the common exception?a. Java complier require must declare the exception for non-RuntimeException, but don't need for RuntimeExceptionb. RuntimeException means the VM always m 阅读全文