Language syntax

JVM linking

Linking checks and prepares types and resolves symbolic references.

Formal Syntax & Structure

java syntaxjava
verification → preparation; resolution as needed

Working Example

Example Snippetjava
public class Main {
    public static void main(String[] args) throws Exception {        try {            Class.forName("bytemind.lab.MissingType", false, Main.class.getClassLoader());        } catch (ClassNotFoundException e) {            System.out.println("not found: " + e.getMessage());        }    }}
Java Reference