Courseiva

1Z0-811

Study mode — explanations shown

1

Arrays and Methods

medium

Refer to the exhibit. Which overloaded methods cause this compilation error?

Exhibit

javac Test.java
Test.java:5: error: reference to print is ambiguous
        print(null);
        ^
  both method print(String[]) in Test and method print(String...) in Test match
0 of 178 answered