blob: 36ebd627492bfff97c1963788d812b37df08f82c [file] [log] [blame]
abstract class DemoInvertBoolean {
boolean b;
DemoInvertBoolean(boolean <caret>b) {
this.b = b;
}
DemoInvertBoolean() {
this(true);//this true will be inverted
}
abstract void f1();
public static void main(String[] args) {
DemoInvertBoolean demo = new DemoInvertBoolean(true) {//this true will not be inverted
@Override
public void f1() {
}
};
}
}