About 3,680,000 results
Open links in new tab
  1. Java Methods - W3Schools

    It is defined with the name of the method, followed by parentheses (). Java provides some pre-defined methods, such as System.out.println(), but you can also create your own methods to perform certain …

  2. Function: name - JavaScript | MDN

    Jul 10, 2025 · The name data property of a Function instance indicates the function's name as specified when it was created, or it may be either anonymous or '' (an empty string) for functions created …

  3. Functions - JavaScript | MDN

    Jul 8, 2025 · Defining functions Function declarations A function definition (also called a function declaration, or function statement) consists of the function keyword, followed by: The name of the …

  4. function expression - JavaScript | MDN

    Jul 8, 2025 · A function expression is very similar to, and has almost the same syntax as, a function declaration. The main difference between a function expression and a function declaration is the …

  5. Double colon (::) operator in Java - GeeksforGeeks

    Feb 23, 2022 · The double colon (::) operator, also known as method reference operator in Java, is used to call a method by referring to it with the help of its class directly. They behave exactly as the lambda …

  6. Functions in JavaScript - GeeksforGeeks

    Jan 22, 2026 · Functions in JavaScript are reusable blocks of code designed to perform specific tasks. They allow you to organize, reuse, and modularize code. It can take inputs, perform actions, and return …

  7. Arrow function expressions - JavaScript | MDN

    Feb 21, 2026 · Arrow functions are not inherently associated with a name. If the arrow function needs to call itself, use a named function expression instead. You can also assign the arrow function to a …

  8. Java Syntax - GeeksforGeeks

    Jul 10, 2025 · Java is an object-oriented programming language that is known for its simplicity, portability, and robustness. The syntax of Java programming language is very closely aligned with C …

  9. function - JavaScript | MDN

    Jul 8, 2025 · Parameters name The function name. param Optional The name of a formal parameter for the function. Maximum number of arguments varies in different engines. For the parameters' syntax, …

  10. Java Methods (With Examples) - Programiz

    A method is a block of code that performs a specific task. In this tutorial, we will learn to create and use methods in Java with the help of examples.