Multiple Choices
Answer (Choose 1 answer)
Given the following class public class Ombersley{
public static void main(String argv[]){
boolean b1 = true;if((b1 ==true) || place(true)){
System.out.println("Hello Crowle");
}
}
public static boolean place(boolean location){
if(location==true){
System.out.println("Borcetshire");
}
}
System.out.println("Powick");
return true;
}
What will happen when you attempt to compile and run it?
A. Compile time error
B. Output of "Hello Crowle"
C. Output of Borcetshire and Powick followed by "Hello Crowle"
D. No output