Please UseAMeaningfulSubjectLine when you post anything on JavaRanch. Also please UseCodeTags when you post a source code - It's unnecessarily hard to read the code otherwise. I've edited your post accordingly.
Getting into your question, what did you mean by "multiplication is not happening.", are you getting any exception, incorrect result, or something else? Please TellTheDetails.
"Multiplication not happening" - by that i mean, its not giving any error but it is taking the program flow to default statement. Therefore unable to get multiplication result.
and see the result. if you don't quote your asterix "*" when you pass in your arguments, it will do a shell expansion.
so quote your "*" when you pass in as argument