1306Software EngineeringMedium
The following program: public class Test{ static boolean is OK; public static void main(String args[]){System.out.print(is OK); } }?
AWill not compile as boolean is not initialized
BPrints false
CPrints true
DWill not compile as boolean can never be static
Correct answer
B. Prints false
Explanation
The correct answer is Prints false.