Demo entry 2954991

java1

   

Submitted by anonymous on Nov 05, 2015 at 07:25
Language: Java. Code size: 200 Bytes.

return new MyClass() {
  @Override public void method() {
    if (condition()) {
      try {
        something();
      } catch (ProblemException e) {
        recover();
      }
    }
  }
};

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).