MCQs > IT & Programming > Java > Output of the given program? public class Test115 { { System.out.print('_init'); } static { System.out.print('_static'); } public static void main(String[] args) { System.out.print('_main'); } }

Java MCQs

What is the output of the given program? public class Test115 { { System.out.print("_init"); } static { System.out.print("_static"); } public static void main(String[] args) { System.out.print("_main"); } }

Answer

Correct Answer: _static_main

Explanation:

Note: This Question is unanswered, help us to find answer for this one

Java Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

Java Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it