Chapter 4 Flashcards

1
Q

Char type

A

A primitive data type that represents a Unicode character.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Encoding

A

Representing a character using a binary code

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Escape character

A

A backslash \ is called an escape character.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Format specifier

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

instance method

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Line-based input

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Static method

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

supplementary Unicode

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Token-based input

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Unicode

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Whitespace character

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Char type

A

A primitive data type that represents a Unicode character

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Encoding

A

Representing a character using a binary code

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Escape Character

A

The backslash \ is called an escape character

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Escape sequence

A

A special notation, consisting of a backslash () followed by a character or a combination of digits.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

format specifier

A

A format specifier specifies how an item should be displayed. An item may be a numeric value, a character, a Boolean value, or a string.

17
Q

instance method

A

a nonstatic method in a class. Instance methods belong to instances and can only be invoked by them.

18
Q

line-based input

A

The input that reads a line such as nextLine() is called a line-based input.

19
Q

static method

A

A method that can be invoked without creating an instance of the class. To define static methods, put the modifier static in the method declaration.

20
Q

supplementary Unicode

A

The original Unicode is 16-bit. Those characters that go beyond the original 16-bit limit are called supplementary characters.

21
Q

token-based input

A

The input that reads an item ending at a whitespace character such as nextInt(), nextDouble(), and next() is called token-based input.

22
Q

Unicode

A

A code system for international characters managed by the Unicode Consortium. Java supports Unicode.

23
Q

whitespace character

A

The characters ‘ ‘, \t, \f, \r, or \n are known as whitespace characters.