JavaCompilerCore/resources/bytecode/javFiles/Static.jav

19 lines
228 B
Plaintext
Raw Normal View History

2023-10-23 14:44:12 +00:00
import java.lang.Integer;
class Other {
static field = 20;
}
2023-10-23 14:44:12 +00:00
public class Static {
static i = 20;
static {
var x = 30;
i = x;
}
2024-03-14 12:50:56 +00:00
public static m() {
return i + Other.field;
2023-10-23 14:44:12 +00:00
}
}