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

Test

Java Exam

Anthony Wright 19 preguntas Actualizado el 13 sep 2022

Hacer el test

Este test tiene tipos de pregunta que se abren en el reproductor de siempre.

Preguntas del test (19)

  1. 1What does HTML Stand For?
    1. AHyper Text Markup Language
    2. BHyper Transfer Markup List
    3. CHome Tool Mac List
    4. DHyperlinks and Text Markup Language
  2. 2Choose the appropriate data type for this value 5.5
    1. Aint
    2. Bdouble
    3. Cboolean
    4. DString
  3. 3Choose the appropriate data type for this field: isSwimmer
    1. Adouble
    2. Bboolean
    3. Cstring
    4. Dint
  4. 4How do you print out Hello World? [blank_start]_____[blank_end]
    1. ASystem.out.println("Helloworld");
  5. 5What is garbage collection in the context of java?
    1. AThe operating system periodically deletes all of the java files available on the system.
    2. BWhen all references to an object are gone, then the memory used by the object is automatically reclaimed
    3. CAny java package imported in a program and not being used, is automatically deleted.
    4. DThe java virtual machine (JVM) checks the output of any java program and deleted anything that does not make sense at all.
  6. 6What are loops used for?
    1. ATo run a piece of code only when a certain condition is met
    2. BTo run a piece of code repeatedly forever
    3. CTo run a piece of code repeatedly until a condition is met
    4. DTo run a piece of code if the condition isn't met
  7. 7How do you write a for loop?
    1. Afor (int i = 0; i < 21) {}
    2. Bfor (int i = 0; i < 21; i++) {}
    3. Cfor (int i = 0; i++) {}
    4. Dfor (= 0; i < 21; i++) {}
  8. 8Which is the right way to create an ArrayList of Integers?
    1. AArrayList<Integer> list = new ArrayList<Integer>;
    2. BArrayList Integer = New ArrayList();
    3. CArrayList<Integer> list = new ArrayList<Integer>();
    4. DInteger ArrayList = new Integer ArrayList();
  9. 9How do you add 21 to an ArrayList of Integers?
    1. Alist.add(21);
    2. B21.add(list);
    3. Clist.put(21);
    4. Dlist.add("21");
  10. 10Which is the right way to put 21 at the second position in the ArrayList of Integers?
    (Remember zero-indexing)
    1. Alist.put(2,21);
    2. Blist.add(2,21);
    3. Clist.add(1,21);
    4. Dlist.add(21,1);

Información

Descripción
Software Developer Java Test sobre Java Exam, creado por Anthony Wright el 12/09/2022.
Idioma
English
Visitas
0
Historial
Creado el 12 sep 2022 · actualizado el 13 sep 2022
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?