O GoConqr está de visual novo! Conte para nós o que você achou.

Quiz

Java Exam

Anthony Wright 19 perguntas Atualizado em 13 set 2022

Fazer o quiz

Este quiz tem tipos de pergunta que abrem no player de sempre.

Perguntas do quiz (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);

Informações

Descrição
Software Developer Java Quiz sobre Java Exam, criado por Anthony Wright em 12-09-2022.
Idioma
English
Visualizações
0
Histórico
Criado em 12 set 2022 · atualizado em 13 set 2022
Avaliação
Ainda sem avaliações
Avalie este quiz
Avalie este quiz

Fale Conosco

Sobre o que é sua mensagem?

O que você acha do novo visual?

Você gostou?