Runnable r = ()-> System.out.print("Run method"); // is equivalent to Runnable r = new Runnable() { @Override public void run() { System.out.print("Run method"); } };