8 terms

Greenfoot Ch4 Vocabulary

Vocabulary from "Introduction to Programming with Greenfoot" by Michael Kolling.
STUDY
PLAY

Terms in this set (...)

constructor
A special method of a class that is executed automatically whenever a new instance (object) is created.
new
Java objects can be created from within your code by using this keyword.
GreenfootImage
Greenfoot actors maintain their visible image by holding an object of this type. These are stored in an instance variable inherited from the Actor class.
Instance variable
Also called fields. These can be used to store information (objects or values) for later use.
Assignment statement
This assigns an object or a value to a variable.
Reference
When an object is assigned to a variable, the variable contains a ____________ to that object.
==
We can test if two things are equal by using this symbol.
if/else statement
A conditional statement that executes a segment of code when a given condition is true, and a different segment of code when it is false.
YOU MIGHT ALSO LIKE...
STUDY GUIDE