• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/10

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

10 Cards in this Set

  • Front
  • Back
  • 3rd side (hint)
What are Java identifiers (e.g. variable, method, class names, etc) allowed to start with?
letters
$ (currency character)
_ (underscore)
Ref: P. 5
What characters may identifiers contain after the first character?
letters
$ (currency characters)
_ (underscore)
numbers
Ref: P. 5
T/F: The following identifier is legal:
int $c;
T
Ref: P. 5
Identifiers must start with a letter, currency char ($) or underscore, and may contain any combination of letters, currency chars, underscores or numbers thereafter.
T/F: The following identifier is legal:
int _____2_w;
T
Ref: P. 5
Identifiers must start with a letter, currency char ($) or underscore, and may contain any combination of letters, currency chars, underscores or numbers thereafter.
T/F: The following identifier is legal:
int _a;
T
Ref: P. 5
Identifiers must start with a letter, currency char ($) or underscore, and may contain any combination of letters, currency chars, underscores or numbers thereafter.
T/F: The following identifier is legal:
int :b;
F
Ref: P. 5
Identifier does not start with a letter, currency char ($) or underscore.
T/F: The following identifier is legal:
int -d;
F
Ref: P. 5
Identifier does not start with a letter, currency char ($) or underscore.
T/F: The following identifier is legal:
int e#;
F
Ref: P. 5
Identifier contains an illegal character (#).
T/F: The following identifier is legal:
int .f;
F
Ref: P. 5
Identifier contains an illegal character (.).
T/F: The following identifier is legal:
int 7g;
F
Ref: P. 5
Identifier does not start with a letter, currency char ($) or underscore.