Alex Derek wrote:What i don't understand is that in theory, if i'm not wrong, it should work. The value of
firstInput is not null as soon as i write it in command line, right? Why it goes as nullpointer?
but it takes a bit of 'paranoia' on your part - oddly enough, not a bad thing in programming
Ivan Jozsef Balazs wrote:Let us word it as "defensive programming" and it sounds much better.
Alex Derek wrote:
WHAT is your favorite color? Blue, no yellow, ahhhhhhh! Tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koophttps://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton