Posts

Showing posts with the label What is an anonymous class?

AdvanceJava_AnonymousClass_LambdaExpression.java

  /* --> Anonymous class is an inner class without a name, which means that     we can declare and instantiate class at the same time.