Showing posts with label Hi. Show all posts
Showing posts with label Hi. Show all posts

Tuesday, October 28, 2008

Hi da

HI priya,

Method and function both are same. We call functions as methods in OOPS. no
difference da

Anbu,

package javaapplication2;
public class Main {
public static void main(String[] args)
{
for(int i=0;i {
System.out.println("ARGS VALUE["+ i + "]" + args[i]);
}
}
}

What U have tried is command line arguments and the arguments 1 2 3 are command line arguments. What U have done was correct da. U run the program to get the output.


Deepikkaa.