APCSA 2.6 Vocabulary

0.0(0)
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/14

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

15 Terms

1
New cards

attribute

the data of an object that will constitute the state of an object. Attributes are defined in a class

2
New cards

method

(of an object): defines the behavior that is performed on an object’s data.

3
New cards

class

the formal implementation, or blueprint, of the attributes (data) and behaviors (methods) that the objects of its type support

4
New cards

object

a specific instance of a class with defined attributes

5
New cards

Instantiation

the act of creating an object for use in a program

6
New cards

instance

a specific realization of an object

7
New cards

new

a Java reserved word that is used to create an object

8
New cards

parameter

a value that is passed to a method or a constructor to provide the data for the object’s initial state

9
New cards

constructor

a special method of a class that initializes an object of that type

10
New cards

The 2 parts of the method signature

  1. the name of the method

  2. the type and order of all parameters

<ol><li><p><span style="font-family: Nunito Sans, sans-serif">the name of the method</span></p></li><li><p><span style="font-family: Nunito Sans, sans-serif">the type and order of all parameters</span></p></li></ol><p></p>
11
New cards

Formal parameters

listed in the header of a method

12
New cards

Actual parameters

values passed into a method

13
New cards

The Difference Between Actual and Formal Parameters

Actual parameters are those parameters that are specified in the calling function. While on the other hand, formal parameters are those parameters that are declared in the called function.

(https://byjus.com/gate/difference-between-actual-and-formal-parameters-in-pl-sql/)

14
New cards

object reference

an address that indicates where an object’s variables and methods are stored.

<p><span style="font-family: Nunito Sans, sans-serif">an address that indicates where an object’s variables and methods are stored.</span></p>
15
New cards

Null

a special value used to indicate that a reference is not associated with any object