APCSA 2.6 Vocabulary

studied byStudied by 0 people
0.0(0)
Get a hint
Hint

attribute

1 / 14

15 Terms

1

attribute

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

New cards
2

method

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

New cards
3

class

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

New cards
4

object

a specific instance of a class with defined attributes

New cards
5

Instantiation

the act of creating an object for use in a program

New cards
6

instance

a specific realization of an object

New cards
7

new

a Java reserved word that is used to create an object

New cards
8

parameter

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

New cards
9

constructor

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

New cards
10

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>
New cards
11

Formal parameters

listed in the header of a method

New cards
12

Actual parameters

values passed into a method

New cards
13

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/)

New cards
14

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>
New cards
15

Null

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

New cards

Explore top notes

note Note
studied byStudied by 14 people
... ago
5.0(1)
note Note
studied byStudied by 41 people
... ago
5.0(1)
note Note
studied byStudied by 34 people
... ago
5.0(1)
note Note
studied byStudied by 16 people
... ago
5.0(1)
note Note
studied byStudied by 17 people
... ago
5.0(1)
note Note
studied byStudied by 17 people
... ago
5.0(1)
note Note
studied byStudied by 16 people
... ago
5.0(1)
note Note
studied byStudied by 37 people
... ago
5.0(1)

Explore top flashcards

flashcards Flashcard (26)
studied byStudied by 14 people
... ago
5.0(1)
flashcards Flashcard (76)
studied byStudied by 138 people
... ago
4.0(2)
flashcards Flashcard (50)
studied byStudied by 11 people
... ago
5.0(1)
flashcards Flashcard (29)
studied byStudied by 115 people
... ago
4.2(5)
flashcards Flashcard (40)
studied byStudied by 36 people
... ago
5.0(1)
flashcards Flashcard (118)
studied byStudied by 5 people
... ago
5.0(1)
flashcards Flashcard (110)
studied byStudied by 28 people
... ago
5.0(1)
flashcards Flashcard (123)
studied byStudied by 4 people
... ago
5.0(1)
robot