Files
Alexey Kudravtsev 70290391f9 moved to community
2015-11-16 13:31:16 +03:00

44 lines
1.0 KiB
Java

import java.io.*;
class Test {
float y;
void f() {
int x = 11;
System.out.println("aap");
if (Math.random() > 0.5) {
for (int j = 0; j < 10; j++) {
System.out.println(x);
}
}
try {
g(0);
} catch (IOException e) {
e.printStackTrace(); //To change body of catch statement use File | Settings | File Templates.
}
try {
g(0);
} catch (IOException e) {
e.printStackTrace(); //To change body of catch statement use File | Settings | File Templates.
}
}
void foo() {
try {
g(0);
} catch (IOException e) {
e.printStackTrace(); //To change body of catch statement use File | Settings | File Templates.
}
}
/**
*
* @param u
*/
private void g(int u) {
int x = 12;
System.out.println("foo");
System.out.println("bar");
System.out.println(x);
}
}