D
Daniel
Hello out there
does somebody know why the following code delivers on line 4 a correct
instance and on line 6 a null reference? I would like to understand
this...
001 import java.util.Date;
002 public class TestLoad {
003 public static void main(String[] args) {
004 System.out.println(TestLoad.class.getResourceAsStream("News.txt"));
005 System.out.println(Date.class.getResourceAsStream("News.txt"));
006 }
007 }
Thanks
Daniel Frey
does somebody know why the following code delivers on line 4 a correct
instance and on line 6 a null reference? I would like to understand
this...
001 import java.util.Date;
002 public class TestLoad {
003 public static void main(String[] args) {
004 System.out.println(TestLoad.class.getResourceAsStream("News.txt"));
005 System.out.println(Date.class.getResourceAsStream("News.txt"));
006 }
007 }
Thanks
Daniel Frey