A self contained unit that bundles together data (fields) and the actions (methods) that operate on that data.
What is an Object?
int, double, boolean
What is primitive?
What is void?
4 + 2 * 5.0
What is 14.0?
John, Paul, George, Ringo
Who are the Beatles?
A template for creating objects. Define the fields and methods for an object.
What is a Class?
The classification for the following datatypes:
String, Classes
What is reference?
Variable you declare you declare when writing a method. The caller must provide their own values for these variables when calling the method.
What are parameters?
5 / 2
What is 2?
Director of the Shining.
Stanley Kubrick
A special method in a class that is called when an object is created, commonly used to initialize an object's fields.
What is a constructor?
This is what is actually stored in the memory location labeled by an object's name.
What is a memory address?
The values passed into a method when it is called.
What are arguments?
10 % 3 * 5
What is 5?
Rapper who made "College Dropout"
A feature of OOP languages that allows a class to be defined based another class, reusing its fields and methods.
What is inheritance?
The operator that allows you to access the fields and methods of an object.
What is the dot operator?
If the argument to a method is a variable, the method does not get access to the memory location labeled by the variable's name, only a ____ of its value.
What is copy?
What is 16.5?
Main enemy in the Mario game series
Who is Bowser?
A feature in OOP languages that allows multiple methods in the same class to have the same name but different parameter lists, enabling them to perform similar tasks but with different inputs.
What is Method Overloading?
This operator allows you to create an object, allocating memory for said object.
What is the new operator?
When a method returns a value, it returns it to this.
What is the caller?
22 % 3(5)
What is error?
Best Subject
What is Computer Science?