fork(2) download
/* package whatever; // don't place package name! */

import java.util.*;
import java.lang.*;
import java.io.*;

/* Name of the class has to be "Main" only if the class is public. */
class Ideone
{
	public static void main (String[] args) throws java.lang.Exception
	{
		if (a() || b() || c()){
			System.out.println("one is true");
		}
	}
	public static boolean a(){
		System.out.println("a");
		return false;
	}
	public static boolean b(){
		System.out.println("b");
		return true;
	}
	public static boolean c(){
		System.out.println("c");
		return false;
	}
}
Success #stdin #stdout 0.06s 381184KB
stdin
Standard input is empty
stdout
a
b
one is true