BeSt PRoGiE
Test por , creado hace más de 1 año

Variables as taught by the ugly bitch.

71
0
0
BeSt PRoGiE
Creado por BeSt PRoGiE hace casi 9 años
Cerrar

Variables

Pregunta 1 de 10

1

Developers assign a name to reference each unique thing stored. This name is called a variable

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 2 de 10

1

Variable names cannot use special characters (except % and $ in certain situations)

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 3 de 10

1

Use a dollar ( $ ) sign only to start the name of a static variable

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 4 de 10

1

a private attribute is available only to the class that defines it and to any subclasses of that class

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 5 de 10

1

a public attribute is available to any caller within the same package

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 6 de 10

1

Creating a variable is called

Selecciona una de las siguientes respuestas posibles:

  • variable declaration

  • variable name

  • data type

Explicación

Pregunta 7 de 10

1

Putting data into a variable is called

Selecciona una de las siguientes respuestas posibles:

  • assignment.

  • internal

  • external pushing

Explicación

Pregunta 8 de 10

1

Assignment can take place anytime after a variable has been declared—at declaration, many lines later, or after an event occurs. Assignment takes place when the data is not known.

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 9 de 10

1

Constants

Constants are properties with a fixed value that cannot be altered. You can assign a value to a constant only once, and the assignment must occur in proximity to the declaration of the constant. An error results if you attempt to change the data in a constant.

Constants are declared using the const keyword var .

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 10 de 10

1

By convention, constant names are all caps with words separated by an underscore.
Does this mean that SHIPDOCK.class.asasm is a variable?

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación