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

Test

Sin título

Jon Ziemann 55 preguntas

Hacer el test

Preguntas del test (55)

  1. 1Java arrays can store primitive types and Strings, but cannot store any other type of Object other
    than Strings.
    1. AVerdadero
    2. BFalso
  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. AVerdadero
    2. BFalso
  3. 3An array index cannot be a float, double, boolean or String.
    1. AVerdadero
    2. BFalso
  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. AVerdadero
    2. BFalso
  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. AVerdadero
    2. BFalso
  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. AVerdadero
    2. BFalso
  7. 7 In a two-dimensional array, both dimensions must have the same number of elements, as
    in[10][10].
    1. AVerdadero
    2. BFalso
  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. AVerdadero
    2. BFalso
  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. AVerdadero
    2. BFalso
  10. 10Interface classes cannot be extended but classes that implement interfaces can be extended.
    1. AVerdadero
    2. BFalso

Información

Descripción
Test sobre Sin título, creado por Jon Ziemann el 14/12/2016.
Idioma
English
Visitas
0
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?