What happens after you compile and run this code?

public class MyClass{
    static int i;
    public static void main(String[] args){
        System.out.println(i);
    }
}

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback
Keep exploring
Java quizzes
Cosmo
Sign Up Now
or Subscribe for future quizzes