GoConqr has a new look! Let us know what you think.

Quiz

Career Fair

Kashish Tayal 1 question

Take the quiz

Questions in this quiz (1)

  1. 1Java. Which of the single options below best describes the output of this program?
    public static void main(String[] args) {
    String s1 = new String("Test");
    String s2 = "Test";
    if (s1 == s2) {
    System.out.println("Same");
    }
    if (s1.equals(s2)) {
    System.out.println("Equals");
    }
    }
    1. APrints "Same"
    2. BPrints "Equals"
    3. CPrints "Same" followed by "Equals"
    4. DPrints nothing

Information

Description
Quiz on Career Fair, created by Kashish Tayal on 06/09/2017.
Language
English
Views
0
Rating
No ratings yet
Rate this quiz
Rate this quiz

Feedback

What is it about?

What do you think of the new look?

How do you like it?