• 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

How to study your flashcards.

Right/Left arrow keys: Navigate between flashcards.right arrow keyleft arrow key

Up/Down arrow keys: Flip the card between the front and back.down keyup key

H key: Show hint (3rd side).h key

A key: Read text to speech.a key

image

Play button

image

Play button

image

Progress

1/10

Click to flip

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.