Comprehensive Guide to Unit 1: Using Objects and Methods

0.0(0)
Studied by 0 people
0%Unit 1 Mastery
0%Exam Mastery
Build your Mastery score
multiple choiceMultiple Choice
call kaiCall Kai
Supplemental Materials
Card Sorting

1/25

Last updated 8:21 PM on 3/4/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

26 Terms

1
New cards

Class

A formal implementation or blueprint of an entity, defining state and behavior.

2
New cards

Object

A specific instance of a class created in memory based on the class blueprint.

3
New cards

Instantiation

The process of creating an object in memory using the new keyword.

4
New cards

Constructor

A special block of code that sets up an object immediately after it is created.

5
New cards

Declaration

The part of the object creation syntax that tells Java to create a variable for an object reference.

6
New cards

Void Method

A method that performs an action but does not return any value to the caller.

7
New cards

Non-Void Method

A method that performs a task and returns a value back to the caller.

8
New cards

Null Keyword

Used to indicate that a reference variable does not point to any object in memory.

9
New cards

Reference Variable

A variable that stores the memory address of an object, not the object itself.

10
New cards

Parameters

Inputs required by a method to perform its task, defined in the method declaration.

11
New cards

Arguments

Actual values passed to a method's parameters at the time of method call.

12
New cards

Memory Address

The location in computer memory where an object resides.

13
New cards

Dot Operator

Used to access methods and attributes of an object in Java.

14
New cards

Method Signature

The declaration of a method that specifies the method name and parameter types.

15
New cards

NullPointerException

An error that occurs when attempting to call a method on a null reference.

16
New cards

Argument Mismatch

An error that occurs when the number or type of arguments passed to a method does not match its parameters.

17
New cards

Return Type

The data type that a method returns, specified in the method declaration.

18
New cards

Variable Declaration Syntax

ClassName variableName = new ClassName(parameters); used to create an object.

19
New cards

String Class

A class in Java that represents a sequence of characters and has many useful methods.

20
New cards

Best Practice

Use caution when ignoring return values from non-void methods to avoid logic errors.

21
New cards

Case Sensitivity

In Java, variable names are case-sensitive, meaning 'myObject' and 'myobject' are different variables.

22
New cards

Method Call

The process of executing a method on an object by using the object's reference.

23
New cards

Instantiating an object

The process of creating a new instance of a class using the new keyword.

24
New cards

Input Parameter

The input required for a method to function, corresponding to a defined parameter.

25
New cards

Output

The value or action produced by a method, particularly for non-void methods.

26
New cards

Logic Error

An error that causes a program to produce incorrect results, often due to ignored return values.

Explore top notes

note
Factorisation (copy)
Updated 1096d ago
0.0(0)
note
RIse of Democracy Vocab Pt. 3
Updated 1523d ago
0.0(0)
note
The Great Gatsby
Updated 771d ago
0.0(0)
note
Chemical bonds
Updated 998d ago
0.0(0)
note
Cetaceans - Marine Biology
Updated 1780d ago
0.0(0)
note
iPhone SE 4_ What To Expect.mp4
Updated 952d ago
0.0(0)
note
124.pdf
Updated 956d ago
0.0(0)
note
Factorisation (copy)
Updated 1096d ago
0.0(0)
note
RIse of Democracy Vocab Pt. 3
Updated 1523d ago
0.0(0)
note
The Great Gatsby
Updated 771d ago
0.0(0)
note
Chemical bonds
Updated 998d ago
0.0(0)
note
Cetaceans - Marine Biology
Updated 1780d ago
0.0(0)
note
iPhone SE 4_ What To Expect.mp4
Updated 952d ago
0.0(0)
note
124.pdf
Updated 956d ago
0.0(0)

Explore top flashcards

flashcards
faf
40
Updated 980d ago
0.0(0)
flashcards
faf
40
Updated 980d ago
0.0(0)