Chapter 4 – Defining Classes I Flashcards

1
Q

object

A

.

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

method

A

.

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

instance

A

.

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

member

A

.

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

field

A

.

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

instance variable

A

.

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

new

A

.

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

heading

A

.

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

method body

A

.

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

invocation

A

.

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

body

A

.

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

return statement

A

.

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

return in a void method

A

.

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

local variable

A

.

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

block

A

.

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

compound statement

A

.

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

parameter

A

.

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

argument

A

.

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

call-by-value

A

.

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

parameters as local variables

A

.

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

formal parameters

A

.

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

actual parameter

23
Q

this parameter

24
Q

mask a variable

25
Q

equals

26
Q

toString

27
Q

println used with objects

28
Q

+ used with objects

29
Q

recursive method

30
Q

driver program

31
Q

bottom-up testing

32
Q

stub

33
Q

information hiding

34
Q

abstraction

35
Q

encapsulation

36
Q

public

37
Q

private

38
Q

accessor methods

39
Q

mutator methods

40
Q

precondition

41
Q

postcondition

42
Q

overloading

43
Q

Method signature

44
Q

constructor

45
Q

constructor arguments

46
Q

resetting object values

47
Q

no-argument constructor

48
Q

default constructor

49
Q

import

50
Q

tokens

51
Q

nextToken

52
Q

hasMoreTokens

53
Q

choosing delimeters