To call getResourceAsStream in a static method, we use ClassName.class instead of getClass(). 1. In non static method getClass().
確定! 回上一頁