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 45 people
... ago
5.0(1)
note Note
studied byStudied by 34 people
... ago
5.0(2)
note Note
studied byStudied by 8 people
... ago
5.0(1)
note Note
studied byStudied by 31 people
... ago
4.0(1)
note Note
studied byStudied by 1 person
... ago
5.0(1)
note Note
studied byStudied by 7 people
... ago
5.0(1)
note Note
studied byStudied by 1450 people
... ago
5.0(2)

Explore top flashcards

flashcards Flashcard (119)
studied byStudied by 12 people
... ago
4.0(1)
flashcards Flashcard (51)
studied byStudied by 24 people
... ago
4.0(1)
flashcards Flashcard (42)
studied byStudied by 41 people
... ago
5.0(2)
flashcards Flashcard (40)
studied byStudied by 1 person
... ago
5.0(1)
flashcards Flashcard (25)
studied byStudied by 1 person
... ago
5.0(1)
flashcards Flashcard (93)
studied byStudied by 16 people
... ago
5.0(1)
flashcards Flashcard (105)
studied byStudied by 74 people
... ago
5.0(1)
flashcards Flashcard (139)
studied byStudied by 387 people
... ago
4.8(5)
robot