A process of hiding the implementation details and showing only functionality to the user.
Abstraction
Abstraction lets you focus on what the object does instead of -
How it does it
The process of extracting shared characteristics from two or more classes, and combining them into a generalized superclass.
Generalization
Shared characteristics can be X, Y, or Z
Attributes, associations, or methods
Creating new subclasses from an existing class.
Specialization
What are the two ways to achieve abstraction in Java?
Abstract class (0 to 100%)
Interface (100%)
A class which is declared as abstract
An abstract class
Can an abstract class be instantiated?
No
An abstract class must be declared with an -
abstract keyword.
An abstract class can have - and static methods also.
constructors
An abstract class can have - which will force the subclass not to change the body of the method.
final methods
A method which is declared as abstract and does not have implementation
Abstract method