mirror of
https://github.com/github/codeql.git
synced 2025-12-22 11:46:32 +01:00
25 lines
319 B
Java
25 lines
319 B
Java
package constructors;
|
|
|
|
public class A {
|
|
A() {
|
|
this(42);
|
|
}
|
|
|
|
A(int i) { }
|
|
|
|
public static void main(String[] args) {
|
|
new A();
|
|
}
|
|
|
|
final static String STATIC = "static string";
|
|
final String INSTANCE = "instance string";
|
|
|
|
{
|
|
System.out.println("<obinit>");
|
|
}
|
|
|
|
static {
|
|
System.out.println("<clinit>");
|
|
}
|
|
}
|