What is the result of this program:

public class Test {
    public static void main(String[] args){
        System.out.println(010>9);
    }
}
Explanation
Leading 0 means that the number is written in octal numeric system. 010 = 8

Follow CodeGalaxy

Mobile Beta

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