Skip to content
Quiz · Variables and types · lesson 8 of 8

Quiz — a field with no value

What does the program print?

JAVA
public class Main {
    static int count;
    static boolean ready;
    public static void main(String[] args) {
        System.out.print(count);
        System.out.print(" ");
        System.out.println(ready);
    }
}