Blog Archives

Path parameter to FileInputStream


A basic discovery about FileInputStream 🙂
FileInput stream always takes a absolute path

new FileInputStream("must be an absolute path")

.. if a relative path is given and even if that relative path is added in the class path then also it will not work.

Advertisements