java³£ÓÃʵÓÃÀàѧϰ11.29
ÏÖÔÚ ËùÓÃJava°æ±¾,DateÀ๹Ôì·½·¨Date(0)µÄʱ¼ä²»ÊÇThu Jan 01 01:00:00 GMT 1970ÁË£¬¶øÊÇThu Jan 01 08:00:00 CST 1970¡££¨ 1970 Äê1 ÔÂ1 ÈÕ8ʱ0·Ö0Ãë ÐÇÆÚ4£©
Ϊʲô Date b1=new Date(623289600000); ²»¿ÉÒÔ£¬ÏÂÃæµÄÈ´¿ÉÒÔÄØ£¿
long a=623289600000L;
Date b1=new Date(a); ÒªÔÚ³¤Êý×ÖºóÃæ¼Ó¸öL²ÅÐÐ
Ïà¹ØÎĵµ£º
Javaѧϰ´ÓÈëÃŵ½¾«Í¨
Ò»¡¢ JDK (Java Development Kit)
JDKÊÇÕû¸öJavaµÄºËÐÄ£¬°üÀ¨ÁËJavaÔËÐл·¾³£¨Java Runtime Envirnment£©£¬Ò»¶ÑJava¹¤¾ßºÍJava»ù´¡µÄÀà¿â(rt.jar)¡£²»ÂÛʲôJavaÓ¦Ó÷þÎñÆ÷ʵÖʶ¼ÊÇÄÚÖÃÁËij¸ö°æ±¾µÄJDK¡£Òò´ËÕÆÎÕJDKÊÇѧºÃJavaµÄµÚÒ»²½¡£×îÖ÷Á÷µÄJ ......
´ÓJava1.1¿ªÊ¼ÒýÈëÁËÄÚ²¿ÀàÒÔÀ´£¬Ëü¾ÍÒýÆðÁËÈËÃǵļ¤ÁÒÕùÂÛ¡£ÆäʵÈκÎÓÅÐãµÄÓïÑÔÌØÐÔÓõò»ºÃ¾ÍÊÇÀÄÓã¬ÄÚ²¿ÀàÓõò»ºÃ¾Í»áµ¼Ö´úÂëÏñÃÔ¹¬Ò»Ñù£¬µ¼Ö³öÏÖºÁÎÞÖØÓõÄ×ÛºÏÕ÷¡£
1¡¢ÄÚ²¿Àà·ÖΪ³ÉÔ±ÄÚ²¿Àà¡¢¾²Ì¬Ç¶Ì×Àà¡¢·½·¨ÄÚ²¿Àà¡¢ÄäÃûÄÚ²¿Àà¡£
¼¸ÖÖÄÚ²¿ÀàµÄ¹²ÐÔ£º
A¡¢ÄÚ²¿ÀàÈÔÈ»ÊÇÒ»¸ö¶ÀÁ¢µÄÀ࣬ÔÚ±àÒëÖ®ºó»áÄÚ²¿Àà»á±»±àÒ ......
// ¹ýÂËÌØÊâ×Ö·û
public static String StringFilter(String str) throws PatternSyntaxException {
// Ö»ÔÊÐí×ÖĸºÍÊý×Ö
// String regEx = "[^a-zA-Z0-9]";
// Çå³ýµôËùÓÐÌØÊâ×Ö·û
S ......
/*ÄÚ²¿ÀàʹÓÃʾÀý*/
package demo;
class Outer{
int outer_i=100;
static int outer_j=200;
final int outer_k=300;
void test(){
Inner in = new Inner();
in.display();
}
static class Inner{
void display(){
  ......
package demo;
class TA{
//Õâ¸ö³ÌÐòÒªºÃºÃÀí½â,³£Á¿²»ÊÇÊôÓÚÀàµÄ£¬ËüÔÚÄÚ´æÖÐÓÐÒ»¿éµ¥¶ÀµÄ´æ´¢ÇøÓò£¬ºÎÀàTAÎÞÈκιØÏµ
// public static final int m=9;
// ¾²Ì¬±äÁ¿ÊÇÊôÓÚÀàµÄ£¬ËüµÄ´æ´¢ÇøÓòÓëÀàÏà¹Ø
public static int m=9;
static {
System.out.println("In Static m=" ......