Select one right option of compiling and running this code.

public class Strings {
    public static void main(String[] args) {
        String s1 = new String("Bicycle");
        String s2 = new String("bicycle");
        System.out.println(s1.equals(s2) == s2.equals(s1));
    }
}

Follow CodeGalaxy

Mobile Beta

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