// Using a Custom ClassLoader to Load a Class File

  // First, create a ClassLoader object
  ClassLoader myClassLoader = new myClassLoader();

  // Use it to load up a class, and convert
  // the raw bytes into a Class object
  Class myClass = myClassLoader.loadClass( "mypackage.MyClass" );

  // Finally, create an instance of the class
  Object newInstance = myClass.newInstance();

  // Note that all further classes needed by MyClass
  // will be automatically loaded through the custom ClassLoader