What is the result of the following program execution?
public class Test {
    public static void main(String[] args) {
        char ch = '0';
        for (; ch <= 9; ch++)
            System.out.print(ch);
    }
}

Follow CodeGalaxy

Mobile Beta

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