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

Test

Sin título

Brandon Leute 2 preguntas

Hacer el test

Preguntas del test (2)

  1. 1Assume that SimpleInput is a class whose JavaDoc contains information about the following method:

    ----------------------------

    public static double readDouble()

    This method will display a graphical input box and prompt the user for a valid numeric value, which is returned.

    ---------------------------

    Which of the following code segments correctly invokes readDouble from a main method that is not part of the SimpleInput class?
    1. AreadDouble(SimpleInput);
    2. Binput.readDouble(); // where input is an instance of SimpleInput
    3. CSimpleInput.readDouble();
  2. 2Which of the following are true about a datatype? (Check all that dont apply)
    1. AA datatype defines the set of allowable values that can be stored.
    2. BTo avoid compiler errors, values of a type must only be used in ways that are defined by the datatype.
    3. CThe 8 primitive types are the only datatypes provided by Java.
    4. DClasses in Java are datatypes.

Información

Descripción
Test sobre Sin título, creado por Brandon Leute el 14/10/2020.
Idioma
English
Visitas
0
Etiquetas
lsat
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?