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 10 people
... ago
5.0(2)
note Note
studied byStudied by 5 people
... ago
5.0(1)
note Note
studied byStudied by 124 people
... ago
5.0(1)
note Note
studied byStudied by 30 people
... ago
5.0(1)
note Note
studied byStudied by 91 people
... ago
5.0(1)
note Note
studied byStudied by 15 people
... ago
5.0(1)
note Note
studied byStudied by 28 people
... ago
4.0(1)
note Note
studied byStudied by 3907 people
... ago
4.7(25)

Explore top flashcards

flashcards Flashcard (82)
studied byStudied by 17 people
... ago
5.0(1)
flashcards Flashcard (32)
studied byStudied by 1 person
... ago
5.0(1)
flashcards Flashcard (217)
studied byStudied by 5 people
... ago
5.0(1)
flashcards Flashcard (20)
studied byStudied by 2 people
... ago
5.0(1)
flashcards Flashcard (89)
studied byStudied by 66 people
... ago
5.0(1)
flashcards Flashcard (50)
studied byStudied by 5 people
... ago
4.0(1)
flashcards Flashcard (54)
studied byStudied by 1 person
... ago
5.0(1)
flashcards Flashcard (54)
studied byStudied by 12 people
... ago
5.0(1)
robot