dewg
作者:互联网
代码
/**
-
@ClassName hhh
-
@Description :TODO
-
@Author Josvin
-
@Date 2021/01/22/10:37
*/
class mmm {
public static int a = initStatic();{
System.out.println(“A”);
}public mmm() {
this(“Hello”);
System.out.println(“B”);
}public mmm(String s) {
System.out.println(“C”);
}public int b = init();
public static int initStatic() {
System.out.println(“D”);
return 0;
}public int init() {
System.out.println(“E”);
return 0;
}static {
System.out.println(“F”);
}
}
//
public class hhh {
public static void main(String[] args) {
System.out.println(“1”);
new mmm();
System.out.println(“2”);
new mmm();
System.out.println(“3”);
}
}
标签:dewg,int,System,mmm,println,public,out 来源: https://blog.csdn.net/m0_54814533/article/details/113059276