Match the correct data type with its definition
Match the following
Match the following
Computers do not understand source code that we type in so it needs to...
Objects will inherit methods from its superclasses.
This is how you write an if-else statement that will display JCCC 45%...
Variable Declarations need a data type and a variable name
This statement can be added to the IF statement to specify what...
Anything stored in an instance variable will be remembered as long as...
Objects are created from
The command that allows you to make a decision based on true or false...
Comments are ignored by the computer but necessary for documentation...
Putting this symbol in front of something means NOT:
When we need to repeat code or do a similar task repeatedly, we need...
A special expression that means "nothing" or "no object" is:
Java is very case dependent, so Body and body represent two different...
Methods with void return types represent
The mechanism that is used to pass additional information to a method...
These symbols mean AND, which will join two conditions:
A method with a void return type does not return a...
Actors are classes that are placed into the world
Write a line of code to change the element at index 3 to 5 in the...
True of False. Java is not case-sensitive
This specifies what type of data a method call with return:
When you need to call a method from a different class you must specify...
In object-oriented programming a class is
Objects have several ___________ that are blocks of code that perform...
To pass additional data to a method we specify a
This type of data structure allows us to store many values of the same...
This is how you create a Java multi-line comment to place the...
A bit of memory that belongs to an object to store information is...
Write a statement that will declare an integer instance variable...
Simplify the following expressions to either true or false: ...
By convention, method names in Java should always start with a:
Good Java coding practice dictates that we should declare all of our...
Practice with logical operators...
Methods that belong to the class itself are marked with the keyword:
By convention, class names in Java should always start with a:
This default Greenfoot method is automatically created in each new...
Write one statement that declares a local variable named city and...
Write a method signature for a method named "randomMove"....
Which of the following is not a data type in Java?
Mark the arrays that are declared correctly by good programming...
The specification of a method, which shows its return type, name and...
Given the following variable declarations, evaluate the following...
Another name for an objects is an:
An instruction that tells an object to perform a specific task it has...
A constant is a named value that is used like a variable, but can only...
Mark the following identifiers that are valid names to use in Java.
A compiler
The best example for the correct way to name a class is
Which is the best declaration for a variable that will hold...
An assignment statement enables us to store something into a variable....
Suppose you are given a variable named temperature that holds a value....
What the value of x is at the end:...
An identifier can be named in Java using letters, digits, underscores...
Declare and create a new array of 5 elements for a scores array....
Given the code below, what are the local variables?...
Match the following value operator with its definition.
Match the following