Quiz
Career Fair
Perguntas do 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
Informações
- Descrição
- Quiz sobre Career Fair, criado por Kashish Tayal em 06-09-2017.
- Autor
- Kashish Tayal
- Idioma
- English
- Visualizações
- 0
- Avaliação
- Ainda sem avaliações Avalie este quiz