chapter 4
is-a relationship
the relationship between an object and the class of which it is a member.
class client
an application or class that instantiates objects of another class. See also class user.
class user
an application or class that instantiates objects of another prewritten class. See also class client.
extended
describes classes that have descended from another class.
data fields
data variables declared in a class outside of any method.
instance variable
a nonstatic class field that exists separately for each instantiated object.
private access
describes a field or method that no other classes can access.
information hiding
the object-oriented programming principle used when creating private access for data fields that describes that a class’s private data can be changed or manipulated only by a class’s own methods.
mutator methods
methods that set field values.
accessor methods
methods that return information about an object.
Nonstatic methods
methods used with object instantiations. See also instance methods.
instance methods
methods used with object instantiations. See also nonstatic methods.
primary key
a unique identifier for data within a database.
new operator
an operator that allocates the memory needed to hold an object.
reference to an object
a memory address where an object is held.
constructor
a method that establishes an object.
abstract data type (ADT)
a type whose implementation is hidden and accessed through its public methods.
programmer-defined data type
a type that is created by a programmer and not built into the language; a class.
default constructor
a constructor that requires no arguments.
this reference
a reference to an object that is passed to any object’s nonstatic class method.
override
describes the precedence of a variable’s name in a called method when the same name exists in the calling method; also to use the child class’s version of a field or method instead of the parent’s.
shadowing
the action that occurs when a local variable hides a variable with the same name that is further away in scope.
closer in scope
a term that describes the status of a local variable over others that it shadows.
class methods
static methods that do not have a this reference (because they have no object associated with them).
class variables
static variables that are shared by every instantiation of a class.
NaN
abbreviation for Not a Number.
library of classes
a folder that provides a convenient grouping for classes. See also package.
java.lang package
the package that is implicitly imported into every Java program and that contains the fundamental classes.
fundamental classes
asic classes contained in the java.lang package that are imported automatically into every program. Contrast with optional classes.
optional classes
classes that reside in packages that must be explicitly imported into programs. Contrast with fundamental classes.
wildcard symbol
a symbol used to indicate that it can be replaced by any set of characters. In a Java import statement, the wildcard symbol is an asterisk ( * ).
enumeration
a data type that consists of a list of values.
nanosecond
one-billionth of a second.
Composition
describes the relationship between classes when one class object is a data field in another class. Also, sometimes more specifically, a containment relationship between classes when an object of the contained class would cease to exist without the containing class. See also has-a relationship.
has-a relationship
a relationship based on containment.
nested classes
classes contained in other classes.
top-level class
the containing class in nested classes.
static member classes
nested classes that have access to all static methods of their top-level class.
Nonstatic member classes
nested classes that require an instance. See also inner classes.
inner classes
nested classes that require an instance. See also nonstatic member classes.
Local classes
nested classes that are local to a block of code.
Anonymous classes
Anonymous classes
Quiz |
---|
java chapter 3 |
java chapter 2 |
chapter 1 creating java programsjava chapter 1 |
Aeronaves |
Révisions dates 1Les dates clefs données en début d'année qui dessinent les grands axes. |
ioc |
t7 |
Iso: tonos/baros e topos. + sulfato,sulfeto sulfito diferença |
t4 |
t3 |
Old English II Vocab |
Science Grade 7 - Unit 5: Planet Earth |
Core practical T4 L4 |
Ica Plu som är good to know! 🕺 |
Catalyst |
TLR |
mandu - copy |
Bacteriology |
social PAT |
holi |
fotoperiodicidad en ecología |
transformacion digital |
漢字 L15 |
African American History: American Revolutionary War for Independence Era II |
kzkwk |
cognicion y el lenguaje |
religion exam |
Science Grade 7 - Unit 3: Heat and Temperature |
verbs |
para empezar |
Socials-Part D |
chemistry exam review!A |
español |
GS AW 4 |
t2 |
Quiz. para magpalit kog milkteapassing 9/10 |
examen de mi novia |
Quimica |
¿Qué significa ésta palabra rusa? |
Salesforce Data Cloud 1 |
vocabulary 3.8 |
quimica |
Kroppsdelar |
Biotecnología |
ANTICOAGULANT (DRUG FUNDAMENTALS MODULE 2) WK3 |
STERIOD/CORTICOSTERIOD CONT'D (DRUG FUNDAMENTALS MODULE 2) WK3 |
unit 201 cabin crew |
Ancient Quiz Study - copy |
energie - techno |
漢字 L14 |
bio exam |
漢字 L13 |
漢字 L12 |
漢字 L11 |
漢字 L10 |
漢字 L9 |
漢字 L8 |
漢字 L7 |
Koude Oorlog |
que es el periodo paleoliticojaja |
Analisisnose |
Fundamentos Examen unidad Ijajsjsjsjs |
Biología |
Science Grade 7 - Unit 4: Structures and Forces |
Computer vision projects |
Science Grade 7 - Unit 1: Interactions and Ecosystems |
part 8 |
part 7 |
part 6 |
Ord-1 |
examen de historia |
il governoesame |
Cort costituzionaleesame |
T. Preliminar |
Estructura L.I |
Duits schritt 26 (3vwo) |
escritura de palabras con h,ch,ll,y,ñ,x,w,k,z |
Duits schritt 23 D-N (3vwo) |
quizz dates |
dates connaissances |
L quantité de mouvement et l'impulsion |
le mouvement projectile |
Regra dos porquês |
Sentido conotativo e denotativo |
Logística internacional (Inbound, Outbound, In House, Reversa) |
Conceitos de processos de produção enxuta atuais como engenharia simultânea, con |
Logística internacional (Inbound, Outbound, In House, Reversa) |
sábados |
t6 |
Human biology |
Hitta rätt/släng problemglasögonen |
Tecnología |
Recursos humanos |
ACTIVITY 1 |
ADMS 2400 chp 7 |
Psicología |
Post Cuban missile crisis quizFInal HIstory quiz !!!!! |
Historia-HORIZONTE POSCLASICO |
Alim Y Cultura |
ADMS 2400 chp 6 |
HP1 L |
Glosario |
Social Final |
ADMS 2400 chp 5 |
physio |
tennis |
Calcio |
nomi dei calciatori |
ALI |
LECTURE 9 |
Income inequality |
Education |
Théorie générale du droit de l'entreprise - Généralités |
Fred ou George |
Ciudad global |
Vehicle |
ccc section numbers |
Biology |
Historia-HORIZONTE PRECLASICO |
psicología de la adultez y senectud |
Kanji 3+4 |
Words #1 |
إختبار سنة 2013 (محين) |
LECTURE 8 |
Rabelais |
Autre |
LECTURE 7 |
movimenti artistici |
Compensating differentials |
Final test 1 |
o/ |
Final test 2 |
fatima |
Citologia |
Minimum wages & imperfect competition |
Egemonia Imperiale: Il Cinquecento |
La globalizzazione nel 500 |
Il cinquecento |
Computer Vision |
BIOLOGIATodo acrrca de olimpiadas |
ADMS 2400 chp 4 |
estudios sociales |
99 Names of Allah |
Paes historia- Parte dos - copia |
ADMS 2400 chp 3 |
denver |
ADMS 2400 chp 2 |
bio presentatie |
spanish |
LECTURE 6 |
tema 5 |
Bio Review |
AlexisAutores |
LECTURE 5 |
l'organisation fonctionelle des llantes à fleurs |
chemistry |
Legislación. |
textiles |
LR LD |
Dynamic LS and LS |
for job |
METODOLOGIA DE LA INVESTIGACIÓN PARTE I |
road knowlege sector 2 |
Assignment 2 |
Assignment 3 |
Assignment 5 |
Assignment 9 |
Assignment 1 |
Assignment 10 |
Assignment 8 |
historia-HORIZONTE ARCAICO |
Lighthouse 13 U5 FlashcardsPractise learning the meaning of Lighthouse 13 U5 vocab |
antibioticspharmacology |
vocabulary 3.7 |
Band Final '24 |
les symptômes |
personelle médicale |
haniel |
vocabulaire médical |
Assignment 7 |
L'électricité |
generos textuais |
Historiaaaa |
WHF 9 |
Labour Supply Elasticity |
Individual Labour Supply |
U-4 ingléshhjj |
maatschappij p4 Criminaliteit |
ARABIC - BASIC PHRASES |
Informatiekunde |
LECTURE 4 |
LECTURE 3 |
The most important thing in your world T4 L3 |
IP LECTURE 1 |
Preguntas 2023 Plus parte II colores |
Exemples de figure de style. |
teorias pedagogicas1 |
reacciones exotermicas o endotermicas |
exa |
electronegatividad |
logica modal |
sustantivos |
whf quiz #65-72 |
plu kodef |
Topic 5 - energy transfers in and between organisms |
Vamos! Adelante! 4 Unidad 6 |
La versification |
LinguísticaPerguntas acerca das variacoes de linguagens e outras questoes acerca da materia de Linguistica do curso de Letras Português na faculdade. |
Linguística I |
Vocabulaire du théâtre |
sistema endocrinonecesito que crees 24 preguntas |
bac de français |
Biographie des 4 auteurs |
Blandade ord |
Lecture 10, 11 |
Les mouvements littéraires |
biologia |
bac de mathématiques de sti2d |
bac STI2Dquestion sur le bac de 2i2d |
ecology |
bio |
asanas yoga |
SAKRISTAN |
Mała lista |
Ordförståelse verb presens |
Lecture 12, 13 |
ryanair |
chapitre 7 |
Lecture 8, 9 |
Landbou |
Certified Marketing Cloud Administrator |
isländska |
anglais |
zodziai 10 |
Palabras de Español |
Chemistry Paper 2Key paper 2 knowledge |
Preguntas 2023 Plus parte I colores |
seguridad industrial |
Lecture 6, 7 |
sc.hum final test |
Weimar and Nazi Germany |
biología |
variablea |
Barn |
chem paper 2 |
Unit 1-5 |
Forces of nature |
celestial bodies |
celestial bodies |
mixed |
bakery |
dairy |
vegetables |
Preguntas 2022 colores |