OOP Midterms Flashcards
Can be inherited but not instantiated
Abstract Class
method only for abstract class, methods that don’t require implementation for its declaration.
Abstract Method
All subclass should implement the abstract method
Method Signature
If class is abstract have abstract method
Realization
Cant be inherited but can instantiate
Final Class
Cannot be override by connected classes
Final method
Classes that implement an interface inherits only method signature
Interface Inheritance
Key word used for implementing interface
“implements”
Constant and prevents the reference from changing, vallue can be changed but not the size
Final Variable
Object that groups multiple elements into a single unit
Java Collections
Collection framework 3 elements
Interface
Implementations
Algorithms
It is how you handle the collections
Interfaces
The classes that actually hold the data
Implementations
Useful routines
Algorithms
Enforce type on the collection
Generics