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

Quiz

Java Exam

Anthony Wright 19 Fragen Aktualisiert am 13 Sep 2022

Quiz starten

Dieses Quiz enthält Fragetypen, die sich im gewohnten Player öffnen.

Fragen in diesem 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);

Informationen

Beschreibung
Software Developer Java Quiz am Java Exam, erstellt von Anthony Wright am 12/09/2022.
Sprache
English
Aufrufe
0
Verlauf
Erstellt am 12 Sep 2022 · aktualisiert am 13 Sep 2022
Bewertung
Noch keine Bewertungen
Bewerte dieses Quiz
Bewerte dieses Quiz

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck