can any one tell me why cannot we write main as
public static void main(). that is without the String args[] argument.
Tell immediately. Most Urgent..................!!!!!!!!!!
Printable View
can any one tell me why cannot we write main as
public static void main(). that is without the String args[] argument.
Tell immediately. Most Urgent..................!!!!!!!!!!
I was going to answer this. Seriously.
that is until I saw this part:
You would be wise not to state this in your posts. Even if it is urgent to you, realize that it is not urgent to us. Many here take offense to this as it implies to them that a) the poster thinks that his post is more important than everyone else's, and b) that the poster wants to put pressure on the volunteers who come here to help on their own free time. Just a friendly word of advice.Quote:
Tell immediately. Most Urgent..................!!!!!!!!!!
Now hopefully someone else will help you.
I agreed with you Fubarable. See my signature. ;)
yep that's the answer: because that's the way it was defined in the jls.