posted 7 years ago
I know that getResourceAsStream() converts fileName to InputStrteam . But what DBService.class.getClassLoader() does? will it load the classpath which we give to enviromental variable classpath or simply will load the currrent directory path (or root directory) in which DBService is present? please help me in this regard.
What? Why? Where? When? Which?