Online GK Series

This site is dedicated to the aspirants of competitive exams SSC, UPSC, Railways, Postal Assistants, Bank, GATE and NET

Connect with Universities & Study Abroad Experts Instantly Connect Now

Q.

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]

Your Valuable Comments Please...

Useful Computer Science EBooks