Applying Object-Oriented Principles in Java ProgramsDeclaring var-arg methods: Type... is an array parameter
In one line: A method can have one var-arg parameter, last in the list, and Type... is a Type[] in the signature, so m(int...) and m(int[]) clash.
You’ve read your 2 free 1Z0-831 lessons
Sign up free to read every lesson — your progress is saved.
Spotted a mistake in this part?