What is the output of this Java programm? Class Test {. int i; } Class Main { public static void main (String args[]) { test t; System.out.pritIn(t.i); }
A 0
B A garbage value
C compiler error
D runtime error
Solution
Correct Answer: Option C
Practice More Questions on Our App!
Download our app for free and access thousands of MCQ questions with detailed solutions