Brendan Ang

Search

Search IconIcon to open search

Dynamic Loading

Last updated Nov 8, 2022 Edit Source

# Dynamic Loading

Mechanism for loading a binary and execute functions from external software.

Allows program to start up in the absence of these libraries, to discover available libraries, and to potentially gain additional functionality.

1
2
3
//java reflection API
Class type = Class.forName(name);
Object obj = type.newInstance();