All of the above


">
MCQs > IT & Programming > Java > A class has two method implementations that will cause a compiler error. What is the reason for the compiler error? public static void flexiPrint(Object... data){} public static void flexiPrint(Object[] data){}

Java MCQs

A class has two method implementations that will cause a compiler error. What is the reason for the compiler error? public static void flexiPrint(Object... data){} public static void flexiPrint(Object[] data){}

Answer

Correct Answer: The argument "Object..." is identical to argument Object[].

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

More Java MCQ Questions

search

Java Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it