javaÖÐÉèÖÃÎ޲ι¹Ô캯ÊýµÄ±ØÒªÐÔ
ÏÈ¿´Ò»ÏµÄjava´úÂ룺 class Person { private String name=""; private int age=0; public Person() { System.out.println("personÎÞ²ÎÊý¹¹Ô캯Êý"); } public Person(String name,int age) { this.name=name; this.age=age; System.out.println("person 2 ²ÎÊýµÄ¹¹Ô캯Êý"); } } class Student extends Person { private String school; private String grade; public Student() { System.out.println("student ÎÞ²ÎÊýµÄ¹¹Ô캯Êý"); } public Student(String name ,int age,String school) { System.out.println("student 3 ²ÎÊýµÄ¹¹Ô캯Êý"); } public Student(String name ,int age,String school,String grade) { super(name,age); this.school=school; this.grade=grade; System.out.println("student 4 ²ÎÊýµÄ¹¹Ô캯Êý£¬super()."); } } class Test { public static void main(String [] args) { System.out.println("st1:"); Student st2=new Student(); System.out.println("---------------------------"); System.out.println("st2:"); Student st=new Student("zhangshan",76,"Îä´ó"); System.out.println("---------------------------"); System.out.println("st3:"); Student st3=new Student("lisi",24,"Îä´ó","Ñо¿Éú"); } } /* ======================================= Êä³öÈçÏ£º E:\JavaWork>java Test st1: personÎÞ²ÎÊý¹¹Ô캯Êý student ÎÞ²ÎÊýµÄ¹¹
Ïà¹ØÎĵµ£º
Ò»£º×¼±¸ www.savarese.org download
1. rocksaw-1.0.0-src.tar.gz
2. vserv-tcpip-0.9.2-src.tar.gz
¶þ£º±àÒëÔ´ÎļþµÃµ½jar°ü ʹÓÃAnt
1. build vserv-tcpip-0.9.2-src
ÔÚvserv-tcpip-0.9.2Ŀ¼ÏÂÃ潨һ¸ötestsĿ¼£¬È»ºóÔÚcmd´°¿ÚϽøÈë ......
JavaÓëģʽ£ºÊÊÅäÆ÷ģʽ
À´Ô´£¨http://lavasoft.blog.51cto.com/62575/90767£©
Ä¿µÄ£º
½«Ò»¸öÀàµÄ½Ó¿Úת»»³É¿Í»§Ï£ÍûµÄÁíÍâÒ»¸ö½Ó¿Ú¡£A d a p t e r ģʽʹµÃÔ±¾ÓÉÓÚ½Ó¿Ú²»¼æÈݶø²»ÄÜÒ»Æð¹¤×÷µÄÄÇЩÀà¿ÉÒÔÒ»Æð¹¤×÷¡£
Òâͼ£º
ÄãÏëʹÓÃÒ»¸öÒѾ´æÔÚµÄÀ࣬¶øËüµÄ½Ó¿Ú²»·ûºÏÄãµÄÐèÇó¡£
ÄãÏë´´½¨Ò»¸ö¿ÉÒ ......
Ò»¡¢Windows»·¾³ÏµÄJava»·¾³ÅäÖÃ
1¡¢°²×°JDK
2¡¢ÅäÖû·¾³±äÁ¿
Win2000ÒÔ¼°WinXPÖпÉÒÔÔÚ“ÎҵĵçÄÔ”ÊôÐԵē¸ß¼¶”Ñ¡ÏîÖÐÕÒµ½“»·¾³±äÁ¿”£¬È»ºó¿ÉÒÔ¸ù¾ÝÈçÏÂÌáʾ½øÐÐн¨»òÕßÐ޸ė—
<1>JAVA_HOME
ÉèÖÃΪ JDKµÄ°²×°Ä¿Â¼
<2>PATH ......
package com;
import java.util.*;
public class WhatDay {
public static void main(String[] args) {
Calendar c = Calendar.getInstance();
c.setTime(new Date(System.currentTimeMillis()));
int dayOfWeek = c.get(Calendar.DAY_OF_WEEK);
switch (day ......
¼ûµ½È˼Ò×öÁËÒ»¸öѧÉú¹ÜÀíϵͳ£¬ÓõÄÊÇMicrosoft AccessºÍJava£¬µ«×Ô¼º¾ÍÊÇŪ²»ºÃ£¬ÒѾºÃ¼¸ÌìÁË£¬ÕæÊÇÕûËÀÁË£¬ºÃ²»ÈÝÒ×°ÑÈ˼ÒÇë¹ýÀ´Ö¸½Ì£¬ÃÍÈ»²Å·¢ÏÖ×Ô¼ºÌ«ÉµÁË£ºÖªµÀÖ»Òª°ÑÆäËûµÄÀàͬÖ÷º¯Êý·ÅÔÚÒ»¸ö°üÖУ¬Ö»Òª±àÒëÖ´ÐÐÖ÷º¯Êý£¬ÆäÓàµÄÒ²¾Í¶¼±»±àÒëÁË¡£
ËäÈ»ºÜ¼òµ¥£¬µ« ......