On 10/12/2016 01:56 PM, tcak wrote:
I feel like I remember that this was added to D a while ago, but I am
not sure. Is it possible to create anonymous classes?

public interface Runnable{
    void run();

runIt( new Runnable(){
    void run(){
        /* do stuff */

runIt(new class Runnable { void run() { /* do stuff */ }});


Reply via email to