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.
Hi, I am trying to run a java program which takes the argument as "*". But it is not happening. I tried printing the value of arguments passed on command line, it is giving me the packagename as the argument value, instead of "*".
I imagine it is a problem with your shell misinterpreting the symbol, and not with Java. You can try other quoting symbols, like single quote or back-tics. that MIGHT work... but i always get confused on what exactly each means in which shell.
There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors