[Updated] Goldman Sachs Aptitude Test Questions and Answers
Practice List of TCS Digital Coding Questions !!!
Take 50+ FREE!! Online Data Interpretation Mock test to crack any Exams.

JAVA Programming :: Objects and Classes - Discussion

Home > JAVA Programming > Objects and Classes > MCQs Questions Discussion

24 / 30

Which declaration of the main method below would allow a class to be started as a standalone program. Select the one correct answer.

Apublic static int main(char args[])

Bpublic static void main(String args[])

Cpublic static void MAIN(String args[])

Dpublic static void main(String args)

Epublic static void main(char args[])

Answer: Option (Login/Signup)

Show Explanation

Asked In :: Virtusa

Post Your Answer Here:     

No Discussion on this question yet!