This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
the part "String args" actually refers to command-line arguments. so, if you execute it without one, the value of args.length() is zero. since you have asked the code to print any length greater than zero, this is not printed. if you modify your code, i.e., remove your 'if' condition, you will get an output of 0. try giving any command-line arguments, and the code will print the number of arguments given.