## Uses of Class
java.lang.ClassNotFoundException

- Packages that use ClassNotFoundException
  Package | Description
  --- | ---
  java.lang |

- - ### Uses of ClassNotFoundException in java.lang

    Methods in java.lang that throw ClassNotFoundException
    Modifier and Type | Method and Description
    --- | ---
    `protected Class<?>` | ClassLoader.`findClass(String name)` Finds the class with the specified binary name.
    `static Class<?>` | Class.`forName(String className)` Returns the `Class` object associated with the class or interface with the given string name.
    `static Class<?>` | Class.`forName(String name, boolean initialize, ClassLoader loader)` Returns the `Class` object associated with the class or interface with the given string name, using the given class loader.
    `Class<?>` | ClassLoader.`loadClass(String name)` Loads the class with the specified binary name.
    `protected Class<?>` | ClassLoader.`loadClass(String name, boolean resolve)` Loads the class with the specified binary name.

Copyright © 2025 API Design. All Rights Reserved.