Looks like no one added any tags here yet for you.
Classification
is the process of grouping objects together based on common characteristics.
In Java, this is achieved through the use of classes and interfaces.
Classes, interfaces
_____ and _____ can be used to classify objects based on their attributes and behaviors.
Interface
is a collection of abstract methods and constants that can be implemented by a class
Interface
defines a set of methods that a class implementing that interface must provide.
methods in an interface
do not have any implementation, but only the method signatures are defined.
inheritance
Hierarchical relationship of classesi is created using _____.
child class
can inherit properties and methods from a parent class, and can also add its own properties and methods.
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.
Generalization
is the process of creating a more general class from a more specific class.
Generalization
This allows you to create a hierarchy of classes that share common properties and behavior.
Specialization
is the opposite of generalization
Specialization
it involves creating a more specific class from a more general class.
Specialization
This allows you to add additional properties and behavior to a more specific class without affecting the more general class.
Specialization
is the act of capturing differences among objects in a class and creating new distinct subclasses with the differences.
Specialization
In this way, we are specializing information about objects of the superclass into subclasses.
Classification
categorizing objects into a class.
Classification
A subclass is a specialized class of a superclass, and a superclass is a generalized class of a subclass.
Generalization
the act of capturing similarities between classes and defining the similarities in a new generalized class
Generalization
the classes then become subclasses of the generalized class.
Specialization
the act of capturing differences among objects in a class and creating new distinct subclasses with the differences.