Here you can find the source of loadClass(final String className)
public static Class<?> loadClass(final String className)
//package com.java2s; public class Main { /** Loads the class with the given name, or null if it cannot be loaded. */ public static Class<?> loadClass(final String className) { return loadClass(className, null); }// www . j a v a2 s .c o m /** Loads the class with the given name, or null if it cannot be loaded. */ public static Class<?> loadClass(final String className, final ClassLoader classLoader) { try { if (classLoader == null) return Class.forName(className); return classLoader.loadClass(className); } catch (final ClassNotFoundException e) { return null; } } }