Q70
What will be the output of the following Java program? class Output public static void main(String args[]) final int a=10,b=20; while(a<b) System.out.println("Hello"); System.out.println("World");
A.
Hello
B.
run time error
C.
Hello world
D.
compile time error
AnswerAnswer: Option D
Solution
Answer: Option D
No explanation is given for this question Let's Discuss on Board