MCQs > IT & Programming > Java > Best way to return an array from a function?

Java MCQs

What is the best way to return an array from a function?

Answer

Correct Answer: public String[] test(){ String i[] = new String[5]; return i; }

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