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

Test

SDP3 images)

Arman Karimov 47 preguntas

Hacer el test

Preguntas del test (47)

  1. 1What will be the output of the program?Imagen de la pregunta 1
    1. AOak
    2. BPine
    3. CTree
    4. DForest
    5. EOops
  2. 2Select how you would run your program to cause it to print: Arg is 2Imagen de la pregunta 2
    1. Ajava Myfile 2 2 2
    2. Bjava Myfile 1 3 2 2
    3. Cjava Myfile 1 2 2 3 4
    4. Djava Myfile 0 1 2 3
    5. Ejava MyFile 1 2 2 2
  3. 3What is the prototype of the default constructor? Imagen de la pregunta 3
    1. ATest()
    2. BTest
    3. Cpublic Test()
    4. Dpublic Test(void)
  4. 4What is the widest valid returnType for methodA in line 3Imagen de la pregunta 4
    1. Aint
    2. Blong
    3. Cbyte
    4. Ddouble
    5. Evoid
  5. 5Which is valid in a class that extends class AImagen de la pregunta 5
    1. Apublic int method1(int a, int b) {return 0;}
    2. Bprivate int method1(int a, int b) {return 0;}
    3. Cprotected static int method1(int a, int b) {return 0;}
    4. Dpublic long method1(int a, int b) {return 0;}
    5. Epublic static int method1(int a, int b) {return 0;}
  6. 613. Which statement is true?
    1. AAny statement that can throw an Exception must be enclosed in a try block
    2. BThe Error class is a RuntimeException.
    3. CAny statement that can throw an Error must be enclosed in a try block
    4. Dcatch(X x) can catch subclasses of X where X is a subclass of Exception.
  7. 7What will be the output of the program?
    1. Aone two three four
    2. Bfour three two one
    3. Cfour one three two
    4. Done two three four one
  8. 8What will be the output of the program? Imagen de la pregunta 8
    1. AAC
    2. BACD
    3. CBD
    4. DABCD
    5. EABD
  9. 9What will be the output of the program after the running program in such way :/> java Test red green blue?<Imagen de la pregunta 9
    1. Abaz =
    2. Bbaz = blue
    3. Cbaz = null
    4. DRuntime Exception
    5. ECompilation Error
  10. 10 What will be the output of the program? Imagen de la pregunta 10
    1. AIt will print the numbers from 0 to 19 sequentially
    2. BIt will print the numbers from 1 to 20 sequentially
    3. CIt will print the numbers from 0 to 19 but the order is not determined
    4. DIt will print the numbers from 1 to 20 but the order is not determined
    5. EIt will print the numbers from 0 to 9 two times, but the order is not determined

Información

Descripción
Test sobre SDP3 images), creado por Arman Karimov el 18/01/2017.
Idioma
English
Visitas
7
Etiquetas
3 course
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?