Inheritance
 
Methods Inside Interfaces
 
An actual implementation for the method in a class:
 
public class Orange extends Fruit
{

public germinate(Fruitlike self)
{
Orange theOrange = (Orange)self;
...
}
}