Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

Java ¾²Ì¬´úÀíºÍ¶¯Ì¬´úÀí

1. ´úÀíģʽÖ÷ÒªÓÐÁ½ÖÖ£º¾²Ì¬´úÀíºÍ¶¯Ì¬´úÀí
2. ¾²Ì¬´úÀí£º
±ÈÈçÒªÔÚÊä³ö“HelloWorld”Ç°´òÓ¡Ò»¸ö×Ö·û´®“Welcome”
A:Ïȶ¨ÒåÒ»¸ö½Ó¿ÚÀà
Java´úÂë
package ttitfly.proxy;       
      
public interface HelloWorld {       
    public void print();       
//  public void say();       
}   
package ttitfly.proxy;

public interface HelloWorld {
public void print();
// public void say();
}
  
B: ¶¨ÒåÒ»¸ö¸Ã½Ó¿ÚµÄʵÏÖÀà
java ´úÂë
Java´úÂë
package ttitfly.proxy;       
      
public class HelloWorldImpl implements HelloWorld{       
      
    public void print(){       
        System.out.println("HelloWorld");       
    }       
//  public void say(){       
//      System.out.println("Say Hello!");       
//  }       
}      
package ttitfly.proxy;

public class HelloWorldImpl implements HelloWorld{

public void print(){
System.out.println("HelloWorld");
}
// public void say(){
// System.out.println("Say Hello!");
// }
}
C:¶¨ÒåÒ»¸ö¾²Ì¬´úÀíÀà
Java´úÂë
package ttitfly.proxy;       
      
public class StaticProxy impleme


Ïà¹ØÎĵµ£º

Java Data ÈÕÆÚ¸ñʽ´óÈ«


×Öĸ ÈÕÆÚ»òʱ¼äÔªËØ ±íʾ ʾÀý
G
Era ±êÖ¾·û
Text
AD
y
Äê
Year
1996; 96
M
ÄêÖеÄÔ·Ý
Month
July; Jul; 07
w
ÄêÖеÄÖÜÊý
Number
27
W
Ô·ÝÖеÄÖÜÊý
Number
2
D
ÄêÖеÄÌìÊý
Number
189
d
Ô·ÝÖеÄÌìÊý
Number
10
F
Ô·ÝÖеÄÐÇÆÚ
Number
2
E
ÐÇÆÚÖ ......

Ó¡¶ÈÈËдµÄjava´úÂë

ÎÒÔÚÒ»¸öÓ¡¶ÈÍâ°ü¹«Ë¾¹¤×÷¡£ÎÒËù×öµÄϵͳ´ó²¿·ÖÊÇÓ¡¶È³ÌÐòԱдµÄ¡£
¿´ÁËËûÃǵĴúÂëÓиöÌصã¸ø´ó¼ÒÆÀÆÀ¡£
1¡¢ËûÃÇдµÄ´úÂë±È½ÏÑϽ÷£¬±ÈÈçÔÚÑ­»·Ò»¸ö¼¯ºÏÇ°»á×÷nullÅжϣ¬·½·¨ÀàÃüÃûÒ²±È½Ï¹æ·¶Ò׶®¡£
2¡¢ËûÃÇ£¬×¢ÊÍдµÄ²»¶à£¬µ«logдºÜÇÚ¿ì¡£
3¡¢ËûÃǺÃÏñ²»Ì«Ï²»¶ÓÃÁÙʱ±äÁ¿£¬Äܲ»Óþ¡Á¿²»Óá£
4¡¢ËûÃǵĴúÂëÈçÅжÏÒ»¸öb ......

javaÊý¾Ý½á¹¹Ö®Ê÷¼¯TreeSetÓëÊéÓ³Éä(TreeMap)

1.Ê÷¼¯TreeSet
     TreeSetÀàÔÚjava.util°üÖÐ
     Ê÷¼¯ÖеĽáµãÊÇ°´×ÅÆä´æ·ÅµÄÊý¾ÝµÄ×ÖµäÐòÒ»²ãÒ»²ãµØÒÀ´ÎÅÅÁР ÔÚͬһ²ãÖеĽáµã´Ó×óµ½ÓÒ°´×ÖµäÐòµÝÔöÅÅÁÐ
     A.¹¹Ôì·½·¨£ºTreeSet()
     B.³£Ó÷½·¨
   & ......

javaÊý¾Ý½á¹¹Ö®É¢Áм¯HashSetÓëÉ¢ÁбíHashtable

1.É¢Áм¯HashSet
     HashSetÀàÔÚjava.util°üÖÐ
     A.¹¹Ôì·½·¨£ºHashSet()
     B.³£Ó÷½·¨
          public boolean add(Object o)£ºÏò¼¯ºÏÖÐÌí¼ÓÖ¸¶¨ÔªËØo
      &nb ......

JavaʵÏÖµÄ3D¼ÆËã»úͼÐÎÀà¿âÓëÒýÇæ

¿çƽ̨ÈýάͼÐοª·¢¹¤¾ß°üJava 3D
    ¹Ù·½Ö÷Ò³£ºhttps://java3d.dev.java.net/
    Java 3DÑϸñ×ñÑ­“½¨Ä££­»æÖÆ”·ºÐÍ¡£³¡¾°Í¼£¨scene graph£©µÄ³éÏóÄ£Ðͱ»ÓÃÀ´×éÖ¯ºÍά»¤ÐéÄⳡ¾°ÖеĿÉÊǶÔÏó¼°ÆäÐÐΪ¡£³¡¾°Í¼°üº¬ÁËÐéÄâͼÐÎÊÀ½çµÄÈ«²¿ÐÅÏ¢£¬Java 3D»æÖÆÒýÇæ»á¶Ô³¡¾°Í¼½øÐÐ×Ô ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ