abstraction
4 tutorials tagged “abstraction”.
- Difference Between Abstract Class and InterfaceAbstract class or interface? A full comparison, how to choose, and the skeletal-implementation pattern that uses both, the way the JDK does.
- Abstract Classes and Abstract MethodsA partly built class: abstract methods subclasses must fill in, concrete shared code, constructors, the template method idea, and the compile errors.
- Abstraction in JavaShow what an object does and hide how it does it: abstraction with abstract classes and interfaces, and how it differs from encapsulation.
- Interfaces in JavaAn interface is a contract any class can sign: declaring and implementing one, implicit public abstract methods, constants, and interfaces as types.