The superclass provides only the method name and signature. The method body is deferred to the subclasses. abstract class Shape{ public abstract int area(); } class Rectangle extends Shape{ int width = 10; int height = 10; public int area(){ return width*height; } }