//System.out.println("int a = 2.24;错误,因为int类型不能有小数"); // System.out.println("int a = 2.24f;错误,int类型不能定义小数"); // System.out.println("float k = 2.24;错误, ...
分类:
编程语言 时间:
2016-06-11 20:03:37
阅读次数:
189
队列遵循FIFO (First In First Out)原则。 普通队列 优先级队列 通过击鼓传花演示循环队列 ...
分类:
编程语言 时间:
2016-06-11 14:29:53
阅读次数:
325
原文地址:http://www.admin10000.com/Document/152.html JSP中一共预先定义了9个这样的对象,分别为:request、response、session、application、out、pagecontext、config、page、exception 1、r... ...
分类:
Web程序 时间:
2016-06-11 11:43:00
阅读次数:
205
在Java中,要想跳出多重循环,可以在外面的循环语句前定义一个标号,然后在里层循环体的代码中使用带有标号的break语句,即可跳出外层循环。例如, ok: for(int i=0;i<10;i++) { for(int j=0;j<10;j++) { System.out.println(“i=” ...
分类:
编程语言 时间:
2016-06-10 23:04:47
阅读次数:
252
断言是 Java 1.4 引入的一个关键字,它可以根据一个 boolean 类型表达式的结果判断是否继续执行,true 则继续,false 则抛出一个 java.lang.AssertionError 异常中断当前方法并执行冒号后的表达式,如 assert false : Sysout.out.pr ...
分类:
其他好文 时间:
2016-06-10 17:44:44
阅读次数:
132
这道题题意: 求最大公约数,最大公约数是1,则GOOD,否则BAD 注意: 输出时,如果是System.out.printf("%10d%10d Good Choice\n\n",step,mod);会报Presentation Error。 AC的输出是: System.out.printf("% ...
分类:
编程语言 时间:
2016-06-10 17:39:16
阅读次数:
248
关键字ASR - Auto speech recognition
VAD - voice activity detection/语音活动检测
FIFO - First in First out/先进先出 设计导入2016年春节过后,赵师傅提供了一个《智能照明语音控制》的设计要求文档。赵师傅希望能够开发一款语音控制灯光亮度的开关设备,相关信息写在了该文档中。春节前,赵师傅去了一趟重庆。在那里,有...
分类:
其他好文 时间:
2016-06-10 12:34:22
阅读次数:
344
1、什么是继承:一个类从另外一个类中得到成员、属性和行为方法等。 案例: //父类 public class Animal { // 变量 public int height=1; // 方法 public void sayHeight(){ System.out.println(height); ...
分类:
编程语言 时间:
2016-06-10 12:27:55
阅读次数:
122
Map函数: 原型:map(function, sequence),作用是将一个列表映射到另一个列表, 使用方法: def f(x): return x**2 l = range(1,10) map(f,l) Out[3]: [1, 4, 9, 16, 25, 36, 49, 64, 81] Red ...
分类:
编程语言 时间:
2016-06-10 12:15:47
阅读次数:
196
One of the most confusing parts of getting started with TypeScript is figuring out how to use all the libraries that you know and love from JavaScript ...
分类:
Web程序 时间:
2016-06-10 06:10:33
阅读次数:
473