I read that null isn\'t an instanceof anything, but on the other hand that everything in Java extends Object class.>
null
instanceof
Object
No, it is a reference. null is not an object
reference
String s = null; System.out.println(s instanceof Object); // false