Join our Telegram Channel

Question

Which of the following is an invalid declaration for the main method in java program?

A public static void main (String [ ] args)
B public static strictfp void main(String args[ ])
C final static public void main (String args[ ])
D All are Correct
Answer & Explanation
Option: [D]
Advertisement

DOWNLOAD CURRENT AFFAIRS PDF FROM APP

Today's Top Current Affairs

Current Affairs MCQs

State-wise Current Affairs

General Knowledge

Month-wise Current Affairs 2023

Category-wise Current Affairs

Jobs by Qualification

Free Mock Test