Chapter 6_Classification, Generalization, and Specialization (copy)

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

1/19

flashcard set

Earn XP

Description and Tags

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

20 Terms

1
New cards

Classification

is the process of grouping objects together based on common characteristics.

In Java, this is achieved through the use of classes and interfaces.

2
New cards

Classes, interfaces

_____ and _____ can be used to classify objects based on their attributes and behaviors.

3
New cards

Interface

is a collection of abstract methods and constants that can be implemented by a class

4
New cards

Interface

defines a set of methods that a class implementing that interface must provide.

5
New cards

methods in an interface

do not have any implementation, but only the method signatures are defined.

6
New cards

inheritance

Hierarchical relationship of classesi is created using _____.

7
New cards

child class

can inherit properties and methods from a parent class, and can also add its own properties and methods.

8
New cards

hierarchy of classes

This creates a _____, where each child class can inherit from its parent class, and can also be inherited by other child classes.

9
New cards

Generalization

is the process of creating a more general class from a more specific class.

10
New cards

Generalization

This allows you to create a hierarchy of classes that share common properties and behavior.

11
New cards

Specialization

is the opposite of generalization

12
New cards

Specialization

it involves creating a more specific class from a more general class.

13
New cards

Specialization

This allows you to add additional properties and behavior to a more specific class without affecting the more general class.

14
New cards

Specialization

is the act of capturing differences among objects in a class and creating new distinct subclasses with the differences.

15
New cards

Specialization

In this way, we are specializing information about objects of the superclass into subclasses.

16
New cards

Classification

categorizing objects into a class.

17
New cards

Classification

A subclass is a specialized class of a superclass, and a superclass is a generalized class of a subclass.

18
New cards

Generalization

the act of capturing similarities between classes and defining the similarities in a new generalized class

19
New cards

Generalization

the classes then become subclasses of the generalized class.

20
New cards

Specialization

the act of capturing differences among objects in a class and creating new distinct subclasses with the differences.