Thread: some queries
View Single Post
  #1 (permalink)  
Old 11-23-2007, 11:45 PM
Feng Feng is offline
Member
 
Join Date: Nov 2007
Posts: 13
Feng is on a distinguished road
some queries
I got 3 questions regarding this:

Code:
public static void main (String [] args) {
a) there are many times that in order to run a program, we have to type String [] args. Why we use this? And why some times we dont need to type it? What does it mean?

b)why in some programs we type run instead of main?

c)when do we type static? only at the main method of our main class?

Last edited by Feng : 11-24-2007 at 12:44 AM.
Reply With Quote
Sponsored Links