Skip to content

Commit 0497e00

Browse files
committed
InstanceofOperator: a blank line before the null check
Follows the article listing (Sven, 2026-10-21): an empty IO.println() separates the four type checks on "Hello" from the check of null against Object.
1 parent b70c83c commit 0497e00

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎src/main/java/InstanceofOperator.java‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ void main() {
44
IO.println(obj instanceof CharSequence);
55
IO.println(obj instanceof Comparable);
66
IO.println(obj instanceof Integer);
7+
IO.println();
78

89
Object nothing = null;
910
IO.println(nothing instanceof Object);

0 commit comments

Comments
 (0)