Menu
Question Index
...

What will be the output of the following program?

public class Visit {
    public static void main(String args[]) {
        int s = 123;
        boolean[] BA = new boolean[10];
        if (BA[0] == s > 333)
            System.out.println(s);
    }
}


333
123
Some other output
Compilation Error or Runtime Error

Doubts

Problems

Topic: Creation And Declaration Of Array In Java

Read this topic
Take test on this topic

0
Wrong
Score more than 2 points

© meritcampus 2019

All Rights Reserved.

Open In App