| Which below syntax is correct for main method of a java class?
Choose the correct option from below list
(1)public static int main(String[] args)
(2)public int main(String[] args)
(3)public static void main(String[] args)
(4)None of the above
Answer:-(3)public static void main(String[] args) | | |