Interface Method Declarations

public interface MyInterface {

// In interface method can only be PUBLIC or DEFUALT
public void methpublic();
void methDefualt();

// In interface method CAN NOT BE private Static Protected
//private void methprivate();
//static void methstatic();
//protected void methprotected();
}

0 comments: