2021-05-01

//

// Source code recreated from a .class file by IntelliJ IDEA

// (powered by FernFlower decompiler)

//

package edu.xcdq;

public class Demo {

int size = 1;

static int count = 3;

public Demo() {

this.size = 10;

boolean var1 = true;

System.out.println(this.size);

System.out.println(count);

}

public void fun() {

int temp = true;

System.out.println("普通方法");

}

public void Jiqigou(Dog dog) {

dog.run();

}

static {

count = 30;

}

static class inner1 {

inner1() {

}

public void test01() {

System.out.println(Demo.count);

}

}

class inner {

inner() {

}

public void test() {

System.out.println(Demo.count);

System.out.println(Demo.this.size);

Demo.this.Jiqigou(new Dog() {

public void run() {

System.out.println("哒哒的跑");

}

});

}

}

}

你可能感兴趣的:(2021-05-01)