引言 大家都在说编程中一定要使用面向对象,但是我一直不太懂面向对象到底是个啥玩意?经过我不懈努力的研究,我终于简单的明白了面向对象的是个啥玩意。 面向对象是一种编程思想,这种编程思想一旦掌握,对开发都有巨大的好处。再说面向对象之前,我们先来看下面向过程是啥 面向过程 啥叫面向过程捏,面向过程就是根据 ...
分类:
其他好文 时间:
2019-10-06 13:05:06
阅读次数:
83
JS对象总结 复习: 1.1 JS中对象有三种:内置对象(数组Array对象、String字符串对象、RegExp正则表达式对象、Math对象)、 宿主对象(JS脚本所在的运行环境,目前我们讲的脚本在浏览器中运行,所以浏览器对象对象就是宿主对 象)、自定义对象(由大括号包裹的名值对) 对象是特性与功 ...
分类:
Web程序 时间:
2019-10-06 09:50:16
阅读次数:
96
给定区间 [?] 内的 3 个整数 A、B 和 C,请判断 A+B 是否大于 C。 输入格式: 输入第 1 行给出正整数 T (≤),是测试用例的个数。随后给出 T 组测试用例,每组占一行,顺序给出 A、B 和 C。整数间以空格分隔。 输出格式: 对每组测试用例,在一行中输出 Case #X: tr ...
分类:
其他好文 时间:
2019-10-06 09:49:13
阅读次数:
93
3-1 String(字符串检索方法) 字符串检索方法 1.想要获取字符串中某一字符 stringObject.charAt(index) 返回stringObject中得index位置的字符 stringObject.charCodeAt(index) 返回stringObject中得index位 ...
分类:
其他好文 时间:
2019-10-06 09:28:23
阅读次数:
128
String源码与常用方法 1.栗子 代码: 输出: 2.String的不变性 2 1:字符串常量池 `s与s2引用相等即地址相等,原因是:Java把字符串常量存入字符串常量池 而 String s4 = new String("hello"); s4和 s2的值不相等,是因为new会产生一个新的对 ...
分类:
编程语言 时间:
2019-10-06 00:18:45
阅读次数:
84
Well, to begin with, I'd like to say thank you to MIT open courses twice. It's their generosity that gives me the priviledge to enjoy the most outstan ...
分类:
其他好文 时间:
2019-10-05 22:27:34
阅读次数:
131
查看分支:git branch 创建分支:git branch <name> 切换分支:git checkout <name>或者git switch <name> 创建+切换分支:git checkout -b <name>或者git switch -c <name> 合并某分支到当前分支:git ...
分类:
其他好文 时间:
2019-10-05 20:24:20
阅读次数:
107
接着一直next下去 创建各个目录 pom.xml文件中引入各种包 web.xml spring-dao.xml spring-service.xml spring-web.xml jdbc.properties logback.xml mybatis-config.xml 参考链接:https:/ ...
分类:
其他好文 时间:
2019-10-05 18:22:03
阅读次数:
78
Report function: Run in the background. Don't interrupt program execution. Every X seconds, send the report. ->Great case for threading. ...
分类:
编程语言 时间:
2019-10-05 12:42:20
阅读次数:
101
e.g. for the login case, originally it's hard coded in the script. now using parameters in TestNG.xml //private static String username = "user01; //pr ...
分类:
其他好文 时间:
2019-10-05 10:21:18
阅读次数:
95