package test; public class Test { public interface Action { String doSmth(String other); } void act(Action action) { } }