1/27
Taken from the reviewer file and converted using GPT
Name | Mastery | Learn | Test | Matching | Spaced | Call with Kai |
|---|
No analytics yet
Send a link to your students to track their progress
Association
Relationship between two or more classes where objects of one class are connected to objects of another class
Multiplicity
Defines the number of instances of one class that can be associated with another class
Navigability
Indicates the direction in which one class can access another class in an association
Dependency
Relationship where a change in one class may affect another class that depends on it
Aggregation
Whole-part relationship where parts can exist independently of the whole
Composition
Strong whole-part relationship where parts cannot exist independently of the whole
Generalization
Process of defining general characteristics in higher-level classes
Specialization
Process of defining more specific characteristics in lower-level classes
"Is a" Relationship
Inheritance relationship where a subclass is a type of superclass
"Has a" Relationship
Relationship where a class contains or uses another class (not inheritance)
Factoring Out
Extracting common attributes and methods into a superclass
Constructor
Method with the same name as the class used to initialize objects
Superclass Constructor
Handles general initialization of objects
Subclass Constructor
Handles specialized initialization of objects
super Keyword
Used to call the constructor of the superclass
Parameterless Constructor
Default constructor with no parameters automatically called if no explicit call is made
Parameterized Constructor Rule
Subclass must explicitly call superclass constructor if it has parameters
Abstraction
Hides unnecessary details and shows only essential features of a system
Abstract Class
Non-instantiable class used as a base for other classes
Modularity
Breaking a system into smaller manageable components
Code Reusability
Ability to reuse code through templates and inheritance
Information Hiding
Separating interface from implementation details
Method Overriding
Redefining a superclass method in a subclass
@Override Annotation
Java annotation used to indicate a method is overridden
Virtual Methods
Methods that can be overridden unless marked final or static
Polymorphism
Ability of an object to take multiple forms
Type Compatibility
Subclass objects can be treated as superclass objects
Runtime Binding
Method to be executed is determined at runtime based on object type