易截截图软件、单文件、免安装、纯绿色、仅160KB

Sun Java moved to the Partner repository

For Ubuntu 10.04 LTS, the sun-java6 packages have been dropped from the Multiverse section of the Ubuntu archive. It is recommended that you use openjdk-6 instead.
If you can not switch from the proprietary Sun JDK/JRE to OpenJDK, you can install sun-java6 packages from the Canonical Partner Repository. You can configure your system to use this repository via command-line:
add-apt-repository "deb http://archive.canonical.com/ lucid partner"


相关文档:

JAVA System.getProperty()参数


Java代码 < type="application/x-shockwave-flash" width="14" height="15" src="http://xiaoxinshome.javaeye.com/javascripts/syntaxhighlighter/clipboard_new.swf" pluginspage="http://www.macromedia.com/go/getflashplayer" allowscriptaccess="always" quality="high" flashvars="clipboard=%20%20%20%20%20 ......

java 数组操作,从数组a中删除数组b中存在的元素

 //从数组a中删除数组b中存在的元素
 String stra[] = {"g","b","c","h","k"};//原始数组
  String strb[] = {"g","k"};   //移除的元素
  ArrayList list = new ArrayList();
//方法一
  for(int i=0;i<stra.length;i++){
   int n=0;
  ......

Java对象拷贝

public class Person implements Serializable {
    private String name;
    private int age;
    private GregorianCalendar birthday;
    public Person(){
       
    }
    p ......

Java与C++的多态

没有必要用一堆绕口的形容词来描述什么叫多态,只举出几个关键点。
    设:gun为父类,shootgun和pistol为gun的子类。
    Java:
    class gun {
        void shoot() {
          ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号