ClassLoader-[Class.getResource与Class.getClassLoader().getResource的区别]
publicclassClassLoaderTest{publicstaticvoidmain(String[]args)throwsMalformedURLException,ClassNotFoundException,IllegalAccessException,InstantiationException{try{//classloader的base目录指的是file:/Users/ouy