GkSeries.com
Home
GK
ENGLISH
CURRENT AFFAIRS
APTITUDE
REASONING
BANKING
UGC NET
COMPUTER SC.
UPSC Prelims
COURSES
Home
Computer Science
Which of the following is an invalid declaration for the main method in java program?
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]
⭐ Make GKSeries Your Preferred Source on Google
Add GKSeries as Preferred Source
Next Question →
Connect with Us
Follow
Follow
Follow
Join channel
Join channel
Follow