Murat KüçüktepeA simple example of creating interface instance with anonymous class in JavaIn Java, an interface is a blueprint for a class. It defines a set of abstract methods that the implementing class must define. However…Nov 16
Gaurav VermaInner and Anonymous inner class in JavaAn Inner class is essentially a class within another class. An Anonymous Inner class is also a class within another class but does not have…Sep 19
Gaurav VermaFunctional interface and Lambda expressionIntroduced in Java 8, Functional Interfaces provide a clear and concise way to implement behaviour using lambda expressions. Before diving…Sep 19Sep 19
Ly VuMock Class in Testing with Anonymous Classes or Test Classes in PHPUtilizing the mock feature in PHPUnit (or other libraries) is a common practice in software testing. However, other alternative techniques…Jan 7Jan 7
Janik SchumacherYou cannot access a JavaScript object during its initialization! Or can you?Exploring how to utilize anonymous classes for object initialization to access object properties during initialization.Feb 192Feb 192
Murat KüçüktepeA simple example of creating interface instance with anonymous class in JavaIn Java, an interface is a blueprint for a class. It defines a set of abstract methods that the implementing class must define. However…Nov 16
Gaurav VermaInner and Anonymous inner class in JavaAn Inner class is essentially a class within another class. An Anonymous Inner class is also a class within another class but does not have…Sep 19
Gaurav VermaFunctional interface and Lambda expressionIntroduced in Java 8, Functional Interfaces provide a clear and concise way to implement behaviour using lambda expressions. Before diving…Sep 19
Ly VuMock Class in Testing with Anonymous Classes or Test Classes in PHPUtilizing the mock feature in PHPUnit (or other libraries) is a common practice in software testing. However, other alternative techniques…Jan 7
Janik SchumacherYou cannot access a JavaScript object during its initialization! Or can you?Exploring how to utilize anonymous classes for object initialization to access object properties during initialization.Feb 192
Burhan ShahAnonymous Classes in PHPAnonymous classes are like anonymous functions or what we call closures. I don’t make much use of them but they are great.Jul 18, 20221
Asim AhmedFunctional InterfaceHi, this article is about functional interface. I am going to explain the idea of functional interface with some examples.Sep 12, 2023