✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Kas järgnev kood kompileerub? Kui ei, siis miks?
public static String getGreeting(String name) { if (name.equals("")) { return "Hello!"; }}