Quantcast
Channel: Blog rund um Java und den SCJP » logische Operatoren
Browsing all 2 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

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


Image may be NSFW.
Clik here to view.

Ü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

Browsing all 2 articles
Browse latest View live