Following is a sample Interface. Thing to note is that we can only write public and abstract method signatures in Interfaces.

Java Code:
public interface TestInterface {
public String getName(int id);
public abstract int getAge(int id);
}