import java.io.InputStream;
import com.example.tests.Cookie;
class B {
int i= 9;
int j;
B(){
prt("i="+i+"j="+j);
System.out.println(i+"-----------"+j);
j =39;
System.out.println(i+"-----------"+j);
}
static int prt(String s){
System.out.println(s);
return 47;
}
static int x1 = prt("aaaaaaaaa");
}
class testDeafultValue extends B{
int k = prt("bbbbbbbbbb");
testDeafultValue(){
prt("k="+k);
prt("j="+j);
}
static int x2= prt("ccccccccc");
static int prt(String s){
System.out.println(s);
return 63;
}
public static void main(String[] args) {
prt("dddddddddddddd");
testDeafultValue tv = new testDeafultValue();
}
}
其实 包含的东西 还有较多的.
import com.example.tests.Cookie;
class B {
int i= 9;
int j;
B(){
prt("i="+i+"j="+j);
System.out.println(i+"-----------"+j);
j =39;
System.out.println(i+"-----------"+j);
}
static int prt(String s){
System.out.println(s);
return 47;
}
static int x1 = prt("aaaaaaaaa");
}
class testDeafultValue extends B{
int k = prt("bbbbbbbbbb");
testDeafultValue(){
prt("k="+k);
prt("j="+j);
}
static int x2= prt("ccccccccc");
static int prt(String s){
System.out.println(s);
return 63;
}
public static void main(String[] args) {
prt("dddddddddddddd");
testDeafultValue tv = new testDeafultValue();
}
}
其实 包含的东西 还有较多的.