The following program: public class Test{ static boolean is OK; public static void main(String args[]){System.out.print(is OK); } } ?

A. Will not compile as boolean can never be static

B. Will not compile as boolean is not initialized

C. Prints false

D. Prints true

Be the first to comment if anything wrong with this mcq
Your comment successfully submitted!
It will automatically posted after review and approval by our staff member.