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

Quiz

Ohne Titel

Jon Ziemann 55 Fragen

Quiz starten

Fragen in diesem Quiz (55)

  1. 1Java arrays can store primitive types and Strings, but cannot store any other type of Object other
    than Strings.
    1. ARichtig
    2. BFalsch
  2. 2A Java main method uses the parameter (String[ ] variable) so that a user can run the program
    and supply "command-line" parameters. Since the parameter is a String array, however, the
    user does not have to supply any parameters
    1. ARichtig
    2. BFalsch
  3. 3An array index cannot be a float, double, boolean or String.
    1. ARichtig
    2. BFalsch
  4. 4If the following statement is performed: CD[ ] mycollection = new CD[200]; where CD is a
    previously defined class, then mycollection[5] is a CD object.
    1. ARichtig
    2. BFalsch
  5. 5It is possible to sort an array of int, float, double or String, but not an array of an Object class
    such as a CD class.
    1. ARichtig
    2. BFalsch
  6. 6To swap the 3 rd and 4th elements in the int array values, you would do:
    values[3] = values[4];
    values[4] = values[3];
    1. ARichtig
    2. BFalsch
  7. 7 In a two-dimensional array, both dimensions must have the same number of elements, as
    in[10][10].
    1. ARichtig
    2. BFalsch
  8. 8An array, when instantiated, is fixed in size, but an ArrayList can dynamically change in size
    when new elements are added to it.
    1. ARichtig
    2. BFalsch
  9. 9Just as arrays can only have a fixed number of elements, set at the time the array is declared, a
    parameter list also can only have a fixed number of elements, set at the time the method is
    declared
    1. ARichtig
    2. BFalsch
  10. 10Interface classes cannot be extended but classes that implement interfaces can be extended.
    1. ARichtig
    2. BFalsch

Informationen

Beschreibung
Quiz am Ohne Titel, erstellt von Jon Ziemann am 14/12/2016.
Sprache
English
Aufrufe
0
Bewertung
Noch keine Bewertungen
Bewerte dieses Quiz
Bewerte dieses Quiz

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck