¡GoConqr estrena diseño! Cuéntanos qué te parece.

Test

Sin título

ljh hlk 5 preguntas

Hacer el test

Preguntas del test (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

Información

Descripción
Test sobre Sin título, creado por ljh hlk el 31/05/2017.
Autor
ljh hlk
Idioma
English
Visitas
0
Valoración
Aún sin valoraciones
Valora este test
Valora este test

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué te parece el nuevo diseño?

¿Te gusta?