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

Return value of both the function is different one is integer return type while another is integer array return type.

Core Java

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