GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Quiz

Career Fair

Kashish Tayal 1 Frage

Quiz starten

Fragen in diesem 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

Informationen

Beschreibung
Quiz am Career Fair, erstellt von Kashish Tayal am 06/09/2017.
Sprache
English
Aufrufe
0
Bewertung
Noch keine Bewertungen
Bewerte dieses Quiz
Bewerte dieses Quiz

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck