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(String wert1, double wert2) { return wert1 + wert2; } public static double concat(String wert2, double wert1) { return wert1; }}
Wiederholung {
wert2) {
wert1 + wert2;
}
wert1) {
wert1;
Nein
Ja
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!