APCSA U1P2

0.0(0)
Studied by 2 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/13

encourage image

There's no tags or description

Looks like no tags are added yet.

14 Terms

1
New cards

Object

is an entity that represents an object or concept from the real world

2
New cards

Attributes

describes features of a class

3
New cards

null

null means a reference has not been assigned in a object

4
New cards

Instance variable

a variable declared within a class but outside any method, which holds unique data for each instance of the class and defines the state or characteristics of an object

5
New cards

Constructor

allow an object to be set up properly when it is first created

6
New cards

Constructor name

usually is the same name as the class

7
New cards

Methods

methods in a class typically are what actions you want to do

8
New cards

New Operator

assigns an instance a reference

9
New cards

No-args constructor

constructor with no parameters

10
New cards

Reference

is the hexadecimal address of where the object is stored in the computer’s memory during the program

11
New cards

void

doesnt return a value

12
New cards

accessor method

gives you access to private fields of an external class

13
New cards

Actual parameter

the values or expressions provided to a function or method when it is called

14
New cards

Formal Parameter

placeholders defined in the function signature or declaration