We Can create interface in java...
Interface created to make multiple parent, because java cant do double extends...
so with interface you can implements because you can define a blueprint of function without body just a name of fucntion and parameter then can be difine in class who implements it..i dunno why delphi have a interface..so i'll tell you what i know..
how to make it..
open java2s.com there is full tutorial nice site for beginners..
PHP Code:
public interface Character()
{
public void Attack(int dmg);
public void Attack(int dmg, int bonus);
public void Walking(int speed);
}
hope it usefull, if you wanted to learn java programming i can teach you..but i'am not pro..