fork download
import java.util.*;
import java.lang.*;

class Main
{
    public static void foo() {
        System.out.println("foo()");
    }
    
    public void bar() {
        System.out.println("bar()");
        this.foo();
    }
    
	public static void main (String[] args) throws java.lang.Exception
	{
		Main m = new Main();
        m.foo();
        m.bar();
	}
}
Success #stdin #stdout 0.07s 380160KB
stdin
Standard input is empty
stdout
foo()
bar()
foo()