Users Also Read
MCQ's Search Engine
Electrical Engineering
Mechanical Engineering
Civil Engineering
Automobile Engineering
Chemical Engineering
Computer Engineering
Electronics Engineering
Medical Science Engg
The following program: public class Test{ static boolean is OK; public static void main(String args[]){System.out.print(is OK); } } | |
A. | Prints true [Wrong Answer] |
B. | Prints false [Correct Answer] |
C. | Will not compile as boolean is not initialized [Wrong Answer] |
D. | Will not compile as boolean can never be static [Wrong Answer] |