what is the difference between public static int main() and public static int[] main()

what is the return type and how will we return value in both ghe cases

Your Answer

Both work normally 
 But the difference  a bit is its an array
and a normal both the return type is int

Core Java

Didn't get the answer.
Contact people of Talent-Core Java directly by clicking here