MCQs > IT & Programming > Java > public void myMethod(String... strings){ // method body } Which call of myMethod() is not correct?

Java MCQs

public void myMethod(String... strings){ // method body } Which call of myMethod() is not correct?

Answer

Correct Answer: myMethod({"a", "b", "c"});

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