This follows the main article on Class.forName()
in Java. If you've already read that one, you've seen how Java lets you load classes during runtime based on a string name. That comes in handy when the class you're working with isn't locked in ahead of time. One common place this shows up is in plugin systems, where the main application need…
Keep reading with a 7-day free trial
Subscribe to Alexander Obregon's Substack to keep reading this post and get 7 days of free access to the full post archives.