Topics

Java Function

About this topic: Articles tagged __TAG__

Showing 11 articles

Topics

Articles

Showing 11 articles

How-tos How to Write an Anonymous Function in Java Learn how to write anonymous functions in Java with this quick tutorial. Discover lambda expressions and anonymous classes, and see how they can simplify your code. Explore … How-tos Covariant Return Type in Java This tutorial discusses the covariant return type in Java, explaining its benefits, practical applications, and how it enhances code readability and maintainability. Explore how … How-tos How to Fix Java Invalid Method Declaration; Return Type Required How to fix invalid method declaration; return type required in Java. How-tos How to Pass a Function as a Parameter in Java The article introduces methods to pass a function as an argument/parameter to another function in Java How-tos How to Return Two Values in Java Function This article introduces how to return two values in Java. How-tos How to Return Nothing From a Function in Java This article introduces how to return nothing in Java. How-tos How to Create Callback Functions in Java This tutorial demonstrates how to create and use callback functions in Java. How-tos How to Use System.gc() for Garbage Collection in Java This tutorial demonstrates how to use System.gc() for garbage collection in Java. How-tos How to Return a Boolean Method in Java This tutorial explains how to return a boolean method in Java. How-tos Java Optional Parameters This article describes how to use optional parameters in Java How-tos Virtual Function in Java This article introduces what is virtual function/method in Java.

← All topics