WorksheetsCodeHS 4.10 Key Terms for Classes
Total questions: 11
Worksheet time: 6mins
What contains both state and behavior?
class
object
variable
forklift
What is a vehicle with a pronged device in front for lifting and carrying heavy loads?
class
object
variable
forklift
A template for creating an object
object
class
instance
forklift
A specific version of a class.
instance
class
forklift
variable
What is a method called on an instance of a class?
instance method
object method
behavior method
private method
What defines the state of an object?
instance variable
instance method
instance constructor
instance forklift
What methods and variables are shared by all instances of a class?
static
public
void
main
What is a package in Java?
A group of related classes
A group of related objects
An American football formation
Something that porch pirates steal
What keyword lets us use packages in our code?
import
include
#include
/**
An access modifier is a keyword used to determine who has access to a class, variable, or method. What term does CodeHS use for this keyword?
visibility modifier
access modifier (nice try, Pavao)
public modifier
protection modifier
What the heck is this?
a reference to the current object
a bad Quizizz question
another sad attempt to bring humor into the otherwise dull and empty ennui of existence
this this isn't the this you use in this, just the this that this is used for this for
