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)); } }
Login in to like
Login in to comment
or Read more about Java Quizzes
Login in to like
Login in to comment