Language syntax

JVM method descriptor

Encode parameter and return types; here two ints returning int.

Formal Syntax & Structure

java syntaxjava
(II)I

Working Example

Example Snippetjava
public class Main {    static int add(int a, int b) { return a + b; }    public static void main(String[] args) throws Exception {        System.out.println(add(7, 5));    }}
Java Reference