Java???и??????????????
???????????? ???????[ 2015/6/16 11:37:08 ] ??????????????? ???????
??????????????????и?????????????????
????1.??????д????й??(?? Son ??? Father) ?????????????????(Son)?????(Father)??????????????
????2.????????????????? ????? ?????>??????? ????????????? ?????????????????????????????????
????3.?????????????????????? ???????????????????????
????4.???????????ι????????????вγ?????вι???????
????5.?????????????ι????????????????????????????鶼??????????????????硣???????????????
???????????????????????????????е???????е?????show() ???????????????????????????????????
1 class Father
2 {
3 private static String s= print();
4
5 static{
6 System. out.println("??????????????" );
7 }
8 {
9 System. out.println("????????????" );
10 }
11 public static String print()
12 {
13 System. out.println("?????????" );
14 return "??????????????????" ;
15 }
16 public Father()
17 {
18 System. out.println("??????ι?????????????" );
19 show();
20 }
21 public void show()
22 {
23 System. out.println("????show()????" );
24 }
25 }
26 class Son extends Father
27 {
28 static{
29 System. out.println("??????????????" );
30 }
31 {
32 System. out.println("????????????" );
33 }
34 private int i =1;
35 private String s="??????г??????" ;
36 public void show()
37 {
38 System. out.println("????show()??????i=" +i);
39 }
40 public Son()
41 {
42 System. out.println("????????????????" );
43 System. out.println("???????????????????s=" +s);
44 show();
45 }
46 }
47 public class TestClassLoadSeq {
48 public static void main(String[] args)
49 {
50 new Son();
51 }
52
53 }
54
????????????
??????????????????
????????????????
??????????ι?????????????
????????show()??????i=0
????????????????
????????????????????
???????????????????????s=??????г??????
????????show()??????i=1
??????????????????????????????????????????????е??????????i ???????????i???????????????????????????????0
??????????????????????????????????????????? ????????1 ????????? ??????????????????????????????????????е???????????е??????? ??????0
????????????????????????????????????:
????????jvm??????? ?????????????????? ?0 ?????????????????????? ???????? null
???????
????java???????????????????????????ж???????????????????
????????????д??????????????????????????????????С???????????
????????? java?е????????????????????????????????????????????а???
???????????????????????漰???????????????????SPASVOС??(021-61079698-8054)?????????????????????????
??????
Java???????????Щ???????????????Java????????????????Java?б???Map????????Java Web???????????????Java??????????????д?????Java????????7???????????????????????(java .net ?????)???Java??????????Python??????Java webdriver??λ????????′????е?????Java??д??????????????????Java???????????????JavaScript????????????Java?????????????????? Java???????10??????????????Java?м????????????????java???????ü???????????м???????????????????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11????????
?????????App Bug???????????????????????Jmeter?????????QC??????APP????????????????app?????е????????jenkins+testng+ant+webdriver??????????????JMeter????HTTP???????Selenium 2.0 WebDriver ??????