Quiz
Variables
Crie uma conta grátis para terminar este quiz
Salve seu progresso e veja sua nota final.
Já tem uma conta? Inicie sessão
Perguntas do quiz (10)
1Developers assign a name to reference each unique thing stored. This name is called a variable
- AVerdadeiro
- BFalso
2Variable names cannot use special characters (except % and $ in certain situations)
- AVerdadeiro
- BFalso
3Use a dollar ( $ ) sign only to start the name of a static variable
- AVerdadeiro
- BFalso
4a private attribute is available only to the class that defines it and to any subclasses of that class
- AVerdadeiro
- BFalso
5a public attribute is available to any caller within the same package
- AVerdadeiro
- BFalso
6Creating a variable is called
- Avariable declaration
- Bvariable name
- Cdata type
7Putting data into a variable is called
- Aassignment.
- Binternal
- Cexternal pushing
8Assignment 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.
- AVerdadeiro
- BFalso
9Constants
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 .- AVerdadeiro
- BFalso
10By convention, constant names are all caps with words separated by an underscore.
Does this mean that SHIPDOCK.class.asasm is a variable?- AVerdadeiro
- BFalso
Informações
- Descrição
- Variables as taught by the ugly bitch.
- Autor
- BeSt PRoGiE
- Idioma
- English
- Visualizações
- 80
- Etiquetas
- Avaliação
- Ainda sem avaliações Avalie este quiz