码迷,mamicode.com
首页 >  
搜索关键字:test2 unit7    ( 842个结果
使用for--each遍历集合
package com.yikuan.cn; import java.util.ArrayList;import java.util.Collection;import java.util.Date; public class Test2 { public static void main(Stri ...
分类:其他好文   时间:2018-08-18 00:43:39    阅读次数:130
使用Java实现面向对象编程——第五章 异常
1、 尝试通过if-else来解决异常问题: Eg: public class Test2 { public static void main(String[] args) { Scanner in = new Scanner(System.in); … System.out.print("请输入除 ...
分类:编程语言   时间:2018-08-15 12:35:27    阅读次数:690
D. Vasya And The Matrix(Educational Codeforces Round 48)
D. Vasya And The Matrix time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output Now Vasya is taking ...
分类:其他好文   时间:2018-08-05 00:31:39    阅读次数:146
Python-查找两个文件中相同的ip地址
with open("testt","r") as f1: list1 = f1.readlines() print(list1) list1 = set(list1) with open("test2","r") as f2: list2 = f2.readlines() print(list2)... ...
分类:编程语言   时间:2018-07-30 00:34:02    阅读次数:153
事务种类jdbc,Hibernate,JTA事务
JDBC事务 String URL="jdbc:sqlserver://localhost:1433;databaseName=test2"; String USER="sa"; String PASSWORD="sapassword"; try { Class.forName("com.micro ...
分类:数据库   时间:2018-07-29 16:25:21    阅读次数:164
使用HTMLTestRunner输出html报告
说明:待执行测试用例放到"d:\\Python37\\testcase",文件命名格式可改成test1.py,test2.py等等,文件名不要有空格,否则识别不了。 #coding:utf-8import unittestimport HTMLTestRunnerdef all_case(): #待 ...
分类:Web程序   时间:2018-07-29 11:48:38    阅读次数:687
D - Xenia and Bit Operations
D. Xenia and Bit Operationstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard output D. Xenia and Bit Ope ...
分类:其他好文   时间:2018-07-29 00:47:40    阅读次数:147
ES6中箭头函数的作用
我们知道在ES6中,引入了箭头函数,其本质就是等同有ES5中的函数。类似于下面的写法: let test1=() => “abc”; let test2=() => { return “abc”}; let sum=(a,b) => a+b; 比如上面的3个ES6的箭头函数的写完,如果用ES5就像下 ...
分类:其他好文   时间:2018-07-27 19:29:25    阅读次数:148
test2
#!/bin/bash# configure networkcat >/etc/sysconfig/network-scripts/ifcfg-eth0>/etc/fstabmkdir /etc/yum.repos.d/bak mv /etc/yum.repos.d/Cen* /etc/yum.re... ...
分类:其他好文   时间:2018-07-22 20:01:47    阅读次数:158
函数与函数式编程
#面向对象:特点:类(class)#面向过程:过程(def)#函数式编程:函数(def)#定义函数:def func1():# """test....""" print('in the func1') return 0#定义过程def func2() """test2..........""" pr ...
分类:其他好文   时间:2018-07-22 17:04:50    阅读次数:116
842条   上一页 1 ... 26 27 28 29 30 ... 85 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!