MCQs > IT & Programming > Java > Which will declare an array and initialize it with five numbers?

Java MCQs

Which one of the following will declare an array and initialize it with five numbers?

Answer

Correct Answer: int [] a = {23,22,21,20,19};

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