Showing posts with label main function. Show all posts
Showing posts with label main function. Show all posts

Saturday, May 31, 2014

Difference in "String[] args" vs "String args[]"


What is the difference in the below notation???

public static void main(String[] args)
public static void main(String args[])

Answer: - Both are same, and both are array of string like args[0,1,2.......n]