Here is some decompiled Java code. The Java decompiler is new.
Decompiled Java code:
public static void main(java.lang.String[]) {
java.lang.System.out.println("Hello, World");
int BLocal1;
float LLocal1 = 0.0;
do {
if (50.0 <= LLocal1) {
break;
};
java.lang.System.out.println(LLocal1);
LLocal1 = (1.0 + LLocal1);
}//LoopEnd 1C
String local2 = "hi there";
java.lang.System.out.println(local2.charAt(3));
int local4 = 2;
BLocal1 = 1;
if ((2 == local4)) {
BLocal1 = 1;
} else {
BLocal1 = 2;
}//EndIF; 3F
java.lang.System.out.println(BLocal1);
return();// 47
};
Original Java code:
public static void main(String[] args) {
// Prints "Hello, World" to the terminal window.
System.out.println("Hello, World");
for (float i = 0; i < 50; i++)
{
System.out.println(i);
}
int f = 2.0;
String tempstr = "hi there";
System.out.println(tempstr.charAt(3));
int blocal = 1;
if (f == 2)
{
blocal = 1;
}
else
{
blocal = 2;
}
System.out.println(blocal);
}