Tired of doing the same job? Get your hands on NSE7_EFW exam It is the nature of the human being that he/she will get tired of doing the same task ove ...
分类:
其他好文 时间:
2019-08-06 20:09:13
阅读次数:
119
Tired of doing the same job? Get your hands on SIAMF exam It is the nature of the human being that he/she will get tired of doing the same task over a ...
分类:
其他好文 时间:
2019-08-06 19:55:47
阅读次数:
99
要求 启动N个线程, 这N个线程要不间断按顺序打印数字1-N. 将问题简化为3个线程无限循环打印1到3 方法一: 使用synchronized 三个线程无序竞争同步锁, 如果遇上的是自己的数字, 就打印. 这种方式会浪费大量的循环 输出 方法二: 使用synchronized配合wait()和not ...
分类:
编程语言 时间:
2019-08-06 19:48:29
阅读次数:
109
String String变量是不可变的,源码里面用了final修饰。 StringBuilder线程不安全,但效率高,常用。 StringBuffer线程安全,但效率低。 ...
分类:
编程语言 时间:
2019-08-05 20:42:51
阅读次数:
130
package com.yh.stu.jvm.garbage; import java.util.*; /** * 实现一个GCRoots算法 * * @author DSH * @create 2019-08-05-15:17 */ public class GCRootsTest { priva... ...
分类:
编程语言 时间:
2019-08-05 19:09:55
阅读次数:
157
Super关键字: Super关键字的特点: This 与super 不能同时存在第一行; 构造方法第一行都有一个默认语句 super()无参构造; 私有化后显示定义无法在用默认, 空参时先调父类构造在子类构造,因为默认语句 super() 第一行只要this在就没有super. super的调用: ...
分类:
编程语言 时间:
2019-08-05 12:17:59
阅读次数:
104
本周学习了Java的继承与包和接口的知识。花在学习和代码上的时间每天一小时。 Java的继承方面了解了Java继承的基本原理,构造函数的调用,super的用法,以及抽象类和重写的多态。在Java中比起c++没有多重继承的方法,也没有派生的理念,但也新添加了很多元素,比如final。obiect类。 ...
分类:
其他好文 时间:
2019-08-04 19:34:41
阅读次数:
92
一>变量:就是将一些运算的中间结果暂存到内存中,一便后续代码调用。 1.必须由数字,字母,下划线任意组合,不能数字开头 2.不能是pathon中的关键字 and as assert break class continue def del elif else except exec finally ...
分类:
编程语言 时间:
2019-08-04 15:11:20
阅读次数:
91
jQuery对Ajax的支持 jQuery对Ajax进行封装,提供了$.ajax()方法 语法:$.ajax(options) | 常用设置项 | 说明 | | | | | url | 发送请求地址 | | type | 请求类型get\|post | | data | 向服务器传递的参数 | | ...
分类:
编程语言 时间:
2019-08-04 01:30:29
阅读次数:
89
1137 Final Grading (25 分) 1137 Final Grading (25 分) 1137 Final Grading (25 分) For a student taking the online course "Data Structures" on China Univer ...
分类:
其他好文 时间:
2019-08-03 21:59:41
阅读次数:
142