Sail E0 Webinar
Question
The following program:
public class Test{
static boolean isOK;
public static void main(String args[]){
System.out.print(isOK);
}
}
Options:
A .  Prints true
B .  Prints false
C .  Will not compile as boolean is not initialized
D .  Will not compile as boolean can never be static
Answer: Option B

Submit Your Solution Below and Earn Points !
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

More Questions on This Topic :


Latest Videos

Latest Test Papers