判断结构 if(条件表达式){执行语句} 一层判断 条件表达式的 结果为 true 的时候 就执行后面大括号里面的语句 ,结果为false的时候 就不执行后面大括号里面的语句,而是跳过 。例如 int x =9; if(x>3){System.out.println(“执行”);} int x =2...
分类:
编程语言 时间:
2015-05-21 22:23:02
阅读次数:
306
题目:Given two integersnandk, return all possible combinations ofknumbers out of 1 ...n.For example,Ifn= 4 andk= 2, a solution is:[ [2,4], [3,4], [2,...
分类:
其他好文 时间:
2015-05-21 22:19:59
阅读次数:
118
1、how to find out the Eclipse VersionFrom Eclipse MenuHelp ----> About EclipseIt displayed asEclipse Java EE IDE for Web Developers.Version: Helios Se...
分类:
移动开发 时间:
2015-05-21 22:00:05
阅读次数:
144
原文地址:http://www.ogrigas.eu/spring/2009/12/diagram-of-spring-3-0-module-dependenciesAs Spring 3.0.0.RELEASE is finally out, I decided to draw a diagram...
分类:
编程语言 时间:
2015-05-21 21:44:26
阅读次数:
181
原文地址:http://www.ogrigas.eu/spring/2009/12/diagram-of-spring-3-0-module-dependenciesAs Spring 3.0.0.RELEASE is finally out, I decided to draw a diagram...
分类:
编程语言 时间:
2015-05-21 19:24:43
阅读次数:
156
转自:http://blog.csdn.net/wklken/article/details/6562098Sort,uniq,join,cut,paste,split命令——SortSort可将许多不同的域按不同的列顺序分类命令格式:sort –cmu –o out-putfile [other ...
分类:
系统相关 时间:
2015-05-21 19:19:25
阅读次数:
286
package?main
import(
????????"fmt"
????????"os"
????????"bufio"
????????)
func?main(){
in?:=make(chan?string)
out?:=make(chan?string)
reader?:=?bufio...
分类:
其他好文 时间:
2015-05-21 17:37:27
阅读次数:
127
一、用static修饰的静态代码块:
class Demo {
{
System.out.println("1、构造块。");
}
static{
System.out.println("0、静态代码块。");
}
public Demo() {
System.out.println("2、构造方法。");
}
}
public class ...
分类:
编程语言 时间:
2015-05-21 17:30:43
阅读次数:
116
??
logcat日志的等级划分 等级从低到高排列
verbose :冗余,最低等级。 黑色
debug:调试信息
蓝色
info: 普通信息
绿色
warning :警告
橙色
error:错误
红色
assert:断言 级别最高
调试信息一般通过debug或者info打印
System.out和Syste...
分类:
移动开发 时间:
2015-05-21 14:14:57
阅读次数:
140
SQLite: Cannot bind argument at index 1 because the index is out of range. The statement has 0 parameters
SQLite出现了这样的错误
12-25 22:52:50.252: E/AndroidRuntime(813): Caused by: java.lang.IllegalArgumen...
分类:
数据库 时间:
2015-05-21 12:46:40
阅读次数:
1447