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

Quiz

Ohne Titel

ljh hlk 5 Fragen

Quiz starten

Fragen in diesem Quiz (5)

  1. 1Which of the following is NOT a primitive data type in Java?
    1. Achar
    2. Bdouble
    3. Cint
    4. Dnumber
  2. 2Which of the following lines declares a constant holding the value 42 in Java?
    1. A[A] static final int ANSWER = 42;
    2. B[B] static const int ANSWER = 42;
    3. C[C] static final ANSWER = 42;
    4. D[D] static const ANSWER = 42;
  3. 3Which of the following is NOT a java.util.Scanner method?
    1. A[A] getNext
    2. B[C] next
    3. C[B] hasNext
    4. D[D] nextDouble
  4. 4What output will be produced by the following Java program?
    boolean a = true;
    boolean b = false;
    a = a && b;
    b = ! b;
    System.out.println(a + " " + b);
    1. Afalse false
    2. Bfalse true
    3. Ctrue false
    4. Dtrue true
  5. 5What output will be produced by the following Java program?
    int a = 1;
    int b = 1;
    while (a * b < 10) {
    a += b;
    if (a == 4)
    continue;
    b++;
    }
    System.out.println(a + b);
    1. A7
    2. B8
    3. C9
    4. D10

Informationen

Beschreibung
Quiz am Ohne Titel, erstellt von ljh hlk am 31/05/2017.
Autor
ljh hlk
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