³öÒ»µÀ×Ô¼ºÅ¼È»Ïë³öÀ´µÄJAVAÌâ ÑÓÉì¶þ
ÒÔÏ´úÂëÄÜ·ñ±àÒëͨ¹ý£¬Èç¹û²»ÄÜ£¬Çë˵Ã÷ÀíÓÉ£¬Èç¹ûÄÜ£¬Çë˵Ã÷½á¹û¡£
public class a {
{
System.out.println("AAA");
}
a() {
System.out.println("BBB");
}
{
System.out.println("CCC");
}
class aa extends a {
{
new a();
System.out.println("DDD");
}
aa aa() {
return new aa();
}
aa() {
super();
System.out.println("FFF");
}
void a() {
new a();
System.out.println("GGG");
}
}
a(a a) {
System.out.println("HHH");
}
aa aa(){
System.out.println("III");
aa aa = new aa();
return aa;
}
static {
System.out.println("JJJ");
}
public static void main(String[] args) {
System.out.println("KKK");
new a(new a()).aa().aa().a();
System.out.println("LLL");
}
}
Ïà¹ØÎĵµ£º
×ܹ²Á½¸öÎļþTaxTest.javaÓëTax.java
---------------------------------------------------------------------------------------
TaxTest.java
===========================================
import javax.swing.JOptionPane;
public class TestTax{
public static void main(String[] args){
String yea ......
public class Test {
public static void main(String args[]) {
int i;
int j;
for (i = 1; i <= 9; i++) {
for (j = 1; j <= i; j++) {
if (j * i <= 9)
System.out.print(j ......
¹¹Ôì·½·¨£º
String()
³õʼ»¯Ò»¸öд´½¨µÄ String ¶ÔÏó£¬Ëü±íʾһ¸ö¿Õ×Ö·ûÐòÁС£
String(byte[] bytes)
¹¹ÔìÒ»¸öÐ嵀 String£¬·½·¨ÊÇʹÓÃÆ½Ì¨µÄĬÈÏ×Ö·û¼¯½âÂë×Ö½ÚµÄÖ¸¶¨Êý×é¡£
String(byte ......
import java.io.BufferedReader;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import sun.net.TelnetOutputStream;
import sun.net.TelnetInputStream;
import sun.net.ftp.FtpClient;
public class download ...{
& ......
1¡¢ÀàÐÍÄ£°å Class£º
ÎïÒÔÀà¾Û£º
ÎÒÃÇ¿ÉÒÔÓÃclass Person{ } class Animal{ }À´ÃèÊöÒ»ÀàÈË»òÒ»ÀදÎ
ÄÇôÔÙÏëһϣ¬ÎÒÃÇÊDz»ÊÇ¿ÉÒÔÓÃclass Class{ } À´³éÏóÃèÊöÀàÄØ£¿
´ð°¸Ê±¿ÉÒԵģ¬Õâ¾ÍÊÇjdkÖÐµÄ Class ÀࣨÀàÐ ......