Yasser, did you really look in the tutorials that Stephan pointed you to? Because you can easily find the answers in there. Here are some more specific links into the relevant tutorial pages:
If there's still something you don't understand, then please ask more questions here - but please be specific. It's hard to understand a generic "I don't understand it" question.
Jesper de Jong wrote:Yasser, did you really look in the tutorials that Stephan pointed you to? Because you can easily find the answers in there. Here are some more specific links into the relevant tutorial pages:
If there's still something you don't understand, then please ask more questions here - but please be specific. It's hard to understand a generic "I don't understand it" question.
ok I understood all of it now. thank you. now I want to ask is the String var[] in the main method is it compulsary??
Lester Burnham
Rancher
Joined: Oct 14, 2008
Posts: 1337
posted
0
Yasser Shaikh wrote:is the String var[] in the main method is it compulsary?
What happens if you leave it out? Can you compile it? Can you run it?
Campbell Ritchie
Sheriff
Joined: Oct 13, 2005
Posts: 32599
4
posted
0
By the way, it is the usual custom to writeIt is better style for the [] to follow "String", not "args".