Lib.tests.source.Synchronized Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of krakatau-lib Show documentation
Show all versions of krakatau-lib Show documentation
Assembler, disassebmler, decompiler and compiler tools library for Java.
public class Synchronized {
public static int x;
public static void main(String[] a)
{
try{
synchronized(a){
x = (1<<-1)/a.length;
}
} catch (Throwable t){
x = 1;
}
int y = x+2;
System.out.println(y);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy