Add to Chrome
✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Lässt sich folgender Quellcode kompilieren (d.h. sind die Methoden richtig überladen)?
12345678
1
2
3
4
5
6
7
8
public class Wiederholung { public static String concat(double wert2, String wert1) { return wert1 + wert2; } public static String concat(double wert1, String wert2) { return wert2 + wert1; }}
Wiederholung {
wert2, String wert1) {
wert1 + wert2;
}
wert1, String wert2) {
wert2 + wert1;
Nein
Ja
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!