Jordan Brand has been going out of theAir
Jordan 6 World Cup Brazilordinary with some of their Retro colorways over the
last few years and the trend c...
分类:
其他好文 时间:
2014-05-15 16:47:00
阅读次数:
288
1. synchronized
If two threads are using the same function( here we use output to print out string) of another instance, if we want to make sure that these two threads are not disturbing each other.
...
分类:
其他好文 时间:
2014-05-15 11:14:14
阅读次数:
389
try catch finally 语句中
如果try中有返回语句,如果在fianlly代码块中有对这个值修改的话,并不影响其放回值public class Test { public static
void main(String[] string){ System.out.p...
分类:
其他好文 时间:
2014-05-15 10:38:40
阅读次数:
209
public class Test { public static void
main(String[] string){ int i = Integer.MAX_VALUE; System.out.println(i); ...
分类:
其他好文 时间:
2014-05-15 10:13:33
阅读次数:
224
public class Test{ public static void
main(String args[]){ int i[]= new int[1]; System.out.println(i.equals(0));
}}//false...
分类:
其他好文 时间:
2014-05-15 10:03:08
阅读次数:
216
【题目】
You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the two numbers and return it as a linked list.
Input: (2 -> 4 -> 3) + (5 -> 6 -> 4)
Out...
分类:
其他好文 时间:
2014-05-15 05:13:49
阅读次数:
306
无论些什么样的程序,其目的都是相同的,用某种方式组织数据以为我们的目的进行服务。但是包含的数据不是随机排列的位或者字节。我们总是把数据构建成能够描述存在于世界的个体。如果我们知道一个名字和一个邮件地址同属于一个人的时候那么这些数据就变得更有意义了。在真是的世界中,并不是所有的看起来很相似的个体都可一...
分类:
其他好文 时间:
2014-05-14 22:46:26
阅读次数:
428
#include
#include
void main(int argc,char *argv[])
{
FILE *in,*out;
if(argc!=3)
{
printf("you forgot to enter a file name\n");
exit(0);
}
if((in=fopen(argv[1],"r"))==NULL)
{
printf("cannot...
分类:
编程语言 时间:
2014-05-14 21:37:56
阅读次数:
321
当你和数据库交互数据的时候,我们可能在一个字段里存了很多信息,并且使用符号分隔开来,那么怎样才能分别得到每一段的信息呢?比如说当你分期付款的时候,可能分好几个期次,那么我们应该怎么将他们分隔开,并且在现实的时候显示出已经选中的:<inputtype="checkbox"name=..
分类:
编程语言 时间:
2014-05-14 19:15:10
阅读次数:
504
1.简单Java多线程例子(继承Thread)publicclasshelloextendsThread{
privateStringname;
publichello(Stringname){
this.name=name;
}
publicvoidrun(){
for(inti=0;i<5;i++){
System.out.println(name+"运行..."+i);
}
}
publicstaticvoidmain(String[]args){
hellohel..
分类:
编程语言 时间:
2014-05-14 17:45:57
阅读次数:
318