abstractiion example in java'
Example 1: abstraction in java
Abstraction is nothing but the quality of dealing with ideas rather than
events. It basically deals with hiding the internal details and showing
the essential things to the user.
Example 2: abstract class in java
public abstract class GraphicObject {
abstract void draw();
}