3 ms·
System.out.print((String)null) Does not throw NPE.
by amenghra 9y ago
System.out.print((String)null)
Does not throw NPE.
- ajuc 9y agoit does here: http://www.javarepl.com/term.html http://www.javarepl.com/term.html But you're right, in regular java environment it doesn't now that I've checked.