↧
zum Üben …
Was ist der Output des folgenden Codes: class Angestellter{ public static boolean isEmpty(String a) { return (a == null | a.length() == 0); } public static void main(String args[]) { if (isEmpty(null))...
View ArticleÜbung
Ändere das letzte Beispiel mit möglichst wenig Aufwand so ab, dass keine Exception geworfen wird: class Angestellter{ public static boolean isEmpty(String a) { return (a == null | a.length() == 0); }...
View Article