Quiz
Career Fair
Fragen in diesem Quiz (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");
}
}- APrints "Same"
- BPrints "Equals"
- CPrints "Same" followed by "Equals"
- DPrints nothing
Informationen
- Beschreibung
- Quiz am Career Fair, erstellt von Kashish Tayal am 06/09/2017.
- Autor
- Kashish Tayal
- Sprache
- English
- Aufrufe
- 0
- Bewertung
- Noch keine Bewertungen Bewerte dieses Quiz