R

Ram Sharma • 193.86K Points
Coach

Q. Predict the output of following Java program 

Code:
class Main {   
   public static void main(String args[]) {      
         int t;      
         System.out.println(t); 
    }   
}
  • (A) 0
  • (B) compiler error
  • (C) garbage value
  • (D) runtime error

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.