how to define an abstract class with two data feilds code example
Example: abstract class in java
public abstract class GraphicObject {
abstract void draw();
}
public abstract class GraphicObject {
abstract void draw();
}