Module 10 - Code Reuse, Making Changes in Class Hierarchy

0.0(0)
studied byStudied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/11

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 7:13 AM on 12/11/23
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

12 Terms

1
New cards

Code reuse

is the practice of using existing code to develop new applications

2
New cards

Code reuse

It is a fundamental principle of software engineering that allows developers to save time and effort by leveraging existing code libraries, frameworks, and modules

3
New cards

Inheritance

is a mechanism that allows a class to inherit properties and methods from another class

4
New cards

Composition

is a mechanism that allows a class to contain instances of other classes as members

5
New cards

Delegation

is a mechanism that allows a class to delegate responsibility for a task to another class

6
New cards

"is-a" relationship

term used to describe the relationship between two classes

7
New cards

"is-a" relationship

is important in Java because it allows developers to reuse code and create more efficient and flexible programs

8
New cards

Has-A-Relation

is a type of relationship between classes, which is used to define the ownership of one object by another object

9
New cards

Composition

is a strong form of the Has-ARelation

10
New cards

Aggregation

is a type of relationship between two classes where one class, the aggregate class, has a reference to the other class, the part class

11
New cards

Delegation

is a mechanism that allows a class to delegate responsibility for a task to another class

12
New cards

Delegation

is useful when creating classes that have a single responsibility and collaborate with other classes to achieve that responsibility

Explore top flashcards

YCJA study guide
Updated 242d ago
flashcards Flashcards (36)
Pulmonology E1: ABGs
Updated 429d ago
flashcards Flashcards (42)
4080 Midterm
Updated 1062d ago
flashcards Flashcards (62)
Health Science
Updated 1085d ago
flashcards Flashcards (48)
Spanish 3 Unit 2-2
Updated 1070d ago
flashcards Flashcards (74)
Unit 5: Hereditary
Updated 1040d ago
flashcards Flashcards (62)
YCJA study guide
Updated 242d ago
flashcards Flashcards (36)
Pulmonology E1: ABGs
Updated 429d ago
flashcards Flashcards (42)
4080 Midterm
Updated 1062d ago
flashcards Flashcards (62)
Health Science
Updated 1085d ago
flashcards Flashcards (48)
Spanish 3 Unit 2-2
Updated 1070d ago
flashcards Flashcards (74)
Unit 5: Hereditary
Updated 1040d ago
flashcards Flashcards (62)