Greenfoot Year 9 Flashcards

(9 cards)

1
Q

What is an Actor?

A

An object that exists in the Greenfoot world

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

What is the World?

A

Where the actors live

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

What is a parameter?

A

A mechanism used to pass additional information into the method

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

What is a void method?

A

A method that does not return any value

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

What is the sign of a constructor?

A

Double brackets ()

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

The name of the constructor always has the same name as what?

A

The class

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

What return type do constructors have in their declaration line?

A

They don’t have a return type

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

What is act()?

A

Method used to make actors do actions

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

What is x()?

A

A method named x

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