Java | Data Types | Question 1

Last Updated :
Discuss
Comments
C
class Main {   
   public static void main(String args[]) {      
         int t;      
         System.out.println(t); 
    }   
}

0

garbage value

compiler error

runtime error

Share your thoughts in the comments