1 package com.example.printscreen; 2 3 import
java.io.FileNotFoundException; 4 import java.io.FileOutputStream; 5 import
java.io.IOException; 6 impo.....
分类:
其他好文 时间:
2014-05-01 10:38:08
阅读次数:
464
本次内容:java常用类1、包装类 1 package array; 2 3 public class
wrapperclass { 4 public static void main(String[] args) 5 { 6 Integer i=new
Inte...
分类:
编程语言 时间:
2014-05-01 09:16:28
阅读次数:
384
1.先注册个github账号。2.建立版本库。建立完生成对应版本库的url,这个地方一定注意:在复制地址的下方有一句话:You
can clone withHTTPS,SSH,
orSubversion.这三种连接方式的url地址是不一样的。我开始就傻B了,用HTTPS的地址配置本地的SSH连接(在...
分类:
其他好文 时间:
2014-05-01 09:09:55
阅读次数:
353
DescriptionAstronomers often examine star maps
where stars are represented by points on a plane and each star has Cartesian
coordinates. Let the level...
分类:
其他好文 时间:
2014-05-01 05:42:32
阅读次数:
368
首先:我们建立一个超类:Clothes: public abstract class
Clothes { public string Look = "beautiful"; public string Getlook() { ...
分类:
其他好文 时间:
2014-05-01 05:33:23
阅读次数:
231
前面一篇文章提到,HTTP1.1中持久连接已经是默认配置,除非设置Connection为close,否则默认都会进行持久连接。但是我们知道事实标准跟教科书还是可能会有一定差距的,所以不妨自己尝试一下。我们知道,TCP建立连接时会进行三次握手,而握手是以一方发送一个SYN为开始的。下载抓包工具Wire...
分类:
Web程序 时间:
2014-05-01 04:24:38
阅读次数:
427
所有注释放在代码中...(图片的加入使用硬代码)package
com.sxt.jtime;import java.awt.BorderLayout;public class Itimer_test extends
JFrame { private JPanel contentPane; ...
分类:
编程语言 时间:
2014-05-01 04:01:01
阅读次数:
546
package algorithm.sort;public class QuickSort {
public static void main(String[] args) { int[] a = new int[] {5, 3, 7, 2, 1, 4,
9, 8, 6, 1}; sort(a); ...
分类:
其他好文 时间:
2014-05-01 03:33:20
阅读次数:
330
package algorithm.sort;public class CountingSort {
public static void main(String[] args) { int[] a = new int[] {5, 3, 7, 2, 1, 4,
9, 8, 6, 1}; int[] ...
分类:
其他好文 时间:
2014-05-01 03:25:05
阅读次数:
252
package algorithm.sort;public class HeapSort {
public static void main(String[] args) { int[] a = new int[] {5, 3, 7, 2, 1, 4,
9, 8, 6, 1}; sort(a); p...
分类:
其他好文 时间:
2014-05-01 03:24:04
阅读次数:
332