Class<?> loadClass(String className,URL[] urls) throws ClassNotFoundException {
  URLClassLoader cl=new URLClassLoader(urls);
  Class<?> testClass=cl.loadClass(className);
  return testClass;
}

Class < ? > loadClass ( String className , URL [ ] urls ) throws ClassNotFoundException { URLClassLoader cl = new URLClassLoader ( urls ) ; Class < ? > testClass = cl . loadClass ( className ) ; return testClass ; }
loads a class from given urls . < p / > exposed so unit tests can mock
