public class CanDo implements Doable { public void doThis () { // whatever } public int doThat () { // whatever return 0; } public void doThis2 (float value, char ch) { } public boolean doTheOther (int num) { return true; } }