MCQs > IT & Programming > Java > Output of the given program? public class Test96 { public static void main(String[] args) { int[] a = new int[2]; System.out.println(a.length); } }

Java MCQs

What is the output of the given program? public class Test96 { public static void main(String[] args) { int[] a = new int[2]; System.out.println(a.length); } }

Answer

Correct Answer:

2

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