Java Functional Interface: Revision history

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

4 July 2025

  • curprev 00:3900:39, 4 July 2025 Iwiseman talk contribs 6,072 bytes +5,002 No edit summary
  • curprev 00:3200:32, 4 July 2025 Iwiseman talk contribs 1,070 bytes +388 No edit summary
  • curprev 00:2400:24, 4 July 2025 Iwiseman talk contribs 682 bytes +682 Created page with "=Functional Interface= A functional interface is an interface that contains only one abstract method. They can have only one functionality to exhibit. =Java Example= Before Java 8, we had to create anonymous inner class objects or implement these interfaces. <syntaxhighlight lang="java"> // Java program to demonstrate functional interface class Test { public static void main(String args[]) { // create anonymous inner class object new Thread(ne..."