The following program:
public class Test{ static boolean isOK; public static void main(String args[]){ System.out.print(isOK); } }
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
Answers
Answered by
2
C) will not compile as Boolean is not in the l intellize.........
Answered by
25
Heya mate
The answer of ur question is
♢ Option - ( C ) is the answer i.e. will not compile as boolean is not initialized
hope it helps
The answer of ur question is
♢ Option - ( C ) is the answer i.e. will not compile as boolean is not initialized
hope it helps
ankitsharma75:
hii
Similar questions
Computer Science,
7 months ago
English,
7 months ago
Computer Science,
1 year ago
Computer Science,
1 year ago
History,
1 year ago