1/25
Name | Mastery | Learn | Test | Matching | Spaced | Call with Kai |
|---|
No analytics yet
Send a link to your students to track their progress
Class
A formal implementation or blueprint of an entity, defining state and behavior.
Object
A specific instance of a class created in memory based on the class blueprint.
Instantiation
The process of creating an object in memory using the new keyword.
Constructor
A special block of code that sets up an object immediately after it is created.
Declaration
The part of the object creation syntax that tells Java to create a variable for an object reference.
Void Method
A method that performs an action but does not return any value to the caller.
Non-Void Method
A method that performs a task and returns a value back to the caller.
Null Keyword
Used to indicate that a reference variable does not point to any object in memory.
Reference Variable
A variable that stores the memory address of an object, not the object itself.
Parameters
Inputs required by a method to perform its task, defined in the method declaration.
Arguments
Actual values passed to a method's parameters at the time of method call.
Memory Address
The location in computer memory where an object resides.
Dot Operator
Used to access methods and attributes of an object in Java.
Method Signature
The declaration of a method that specifies the method name and parameter types.
NullPointerException
An error that occurs when attempting to call a method on a null reference.
Argument Mismatch
An error that occurs when the number or type of arguments passed to a method does not match its parameters.
Return Type
The data type that a method returns, specified in the method declaration.
Variable Declaration Syntax
ClassName variableName = new ClassName(parameters); used to create an object.
String Class
A class in Java that represents a sequence of characters and has many useful methods.
Best Practice
Use caution when ignoring return values from non-void methods to avoid logic errors.
Case Sensitivity
In Java, variable names are case-sensitive, meaning 'myObject' and 'myobject' are different variables.
Method Call
The process of executing a method on an object by using the object's reference.
Instantiating an object
The process of creating a new instance of a class using the new keyword.
Input Parameter
The input required for a method to function, corresponding to a defined parameter.
Output
The value or action produced by a method, particularly for non-void methods.
Logic Error
An error that causes a program to produce incorrect results, often due to ignored return values.