Chapter 6_Classification, Generalization, and Specialization

studied byStudied by 0 people
0.0(0)
learn
LearnA personalized and smart learning plan
exam
Practice TestTake a test on your terms and definitions
spaced repetition
Spaced RepetitionScientifically backed study method
heart puzzle
Matching GameHow quick can you match all your cards?
flashcards
FlashcardsStudy terms and definitions

1 / 19

encourage image

There's no tags or description

Looks like no one added any tags here yet for you.

20 Terms

1

Classification

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

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

New cards
2

Classes, interfaces

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

New cards
3

Interface

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

New cards
4

Interface

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

New cards
5

methods in an interface

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

New cards
6

inheritance

Hierarchical relationship of classesi is created using _____.

New cards
7

child class

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

New cards
8

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.

New cards
9

Generalization

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

New cards
10

Generalization

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

New cards
11

Specialization

is the opposite of generalization

New cards
12

Specialization

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

New cards
13

Specialization

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

New cards
14

Specialization

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

New cards
15

Specialization

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

New cards
16

Classification

categorizing objects into a class.

New cards
17

Classification

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

New cards
18

Generalization

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

New cards
19

Generalization

the classes then become subclasses of the generalized class.

New cards
20

Specialization

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

New cards

Explore top notes

note Note
studied byStudied by 14 people
1005 days ago
4.0(1)
note Note
studied byStudied by 162 people
624 days ago
5.0(1)
note Note
studied byStudied by 16 people
122 days ago
5.0(1)
note Note
studied byStudied by 22 people
743 days ago
5.0(1)
note Note
studied byStudied by 61 people
882 days ago
4.0(1)
note Note
studied byStudied by 8 people
176 days ago
5.0(1)
note Note
studied byStudied by 10 people
898 days ago
5.0(1)
note Note
studied byStudied by 255 people
686 days ago
4.8(9)

Explore top flashcards

flashcards Flashcard (127)
studied byStudied by 31 people
911 days ago
5.0(1)
flashcards Flashcard (20)
studied byStudied by 19 people
266 days ago
5.0(1)
flashcards Flashcard (20)
studied byStudied by 8 people
784 days ago
5.0(1)
flashcards Flashcard (28)
studied byStudied by 29 people
737 days ago
5.0(2)
flashcards Flashcard (67)
studied byStudied by 9 people
837 days ago
5.0(1)
flashcards Flashcard (315)
studied byStudied by 51 people
763 days ago
5.0(4)
flashcards Flashcard (29)
studied byStudied by 15 people
379 days ago
5.0(1)
flashcards Flashcard (26)
studied byStudied by 84 people
17 days ago
5.0(1)
robot