Skip to main content

Read a file from classpath in Java

 Below code shows how to read a text file from classpath.



And below is a simple test to validate above implementation.


Comments