JavaTXCompilerInJavaTX/resources/bytecode/javFiles/Static.jav

19 lines
221 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;
}
2023-10-23 14:44:12 +00:00
static m() {
return i + Other.field;
2023-10-23 14:44:12 +00:00
}
}